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

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.

主站蜘蛛池模板: 宝应县| 修文县| 平乐县| 当雄县| 延吉市| 临潭县| 桐柏县| 阳新县| 嵩明县| 凯里市| 锡林郭勒盟| 金平| 秦安县| 开原市| 固阳县| 通许县| 吉木萨尔县| 布尔津县| 中卫市| 奉节县| 睢宁县| 长白| 甘泉县| 华安县| 鄂托克前旗| 印江| 固原市| 华宁县| 游戏| 合川市| 神农架林区| 临邑县| 文化| 广元市| 东阿县| 大邑县| 洛浦县| 肇东市| 平南县| 禄丰县| 平泉县|