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

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.

主站蜘蛛池模板: 新昌县| 永川市| 科尔| 乃东县| 马鞍山市| 民权县| 丹东市| 施甸县| 鹤峰县| 鄂尔多斯市| 旅游| 上蔡县| 政和县| 融水| 神农架林区| 唐海县| 南乐县| 昌都县| 桃园县| 喜德县| 乌兰察布市| 田东县| 嘉义县| 沁水县| 揭阳市| 荃湾区| 南皮县| 大悟县| 柳州市| 吉隆县| 裕民县| 平凉市| 安义县| 屯昌县| 沂源县| 栾川县| 浦北县| 枣庄市| 沙河市| 麟游县| 治县。|