官术网_书友最值得收藏!

Big bang testing

There are two approaches to integration testing: big bang testing and incremental testing. With big bang testing, you simply wait until all the components of a system are ready and then start testing. In the case of my service, that meant developing and installing everything, then posting some requests and checking whether the external service could call the internal service, and whether the internal service could access the database and the queue and, not unimportant, give feedback to the external service. Furthermore, of course, I had to test whether the queue triggered the processing service and whether the processing service processed the message correctly too.

In reality, the processing also used the database; it put new messages on the queue and sent emails in case of errors. Additionally, all the components had to access the hard drive for logging to a file (and do not assume the filesystem is always available; the first time on production I actually ran into an Unauthorized Exception and nothing was logged). So that means even more integration testing.

主站蜘蛛池模板: 靖安县| 资源县| 屯留县| 临江市| 龙泉市| 南宁市| 松溪县| 宝丰县| 上思县| 日照市| 临高县| 随州市| 五指山市| 米林县| 深圳市| 南城县| 南川市| 新密市| 临桂县| 仪征市| 崇州市| 藁城市| 阿瓦提县| 锦州市| 灵台县| 通榆县| 兴国县| 花垣县| 吉林市| 阿拉善右旗| 阳城县| 曲麻莱县| 宣化县| 华宁县| 尚义县| 北安市| 六盘水市| 祁连县| 玉田县| 贵德县| 南木林县|