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

Incremental testing

With incremental testing, you test components as soon as they are available and you create stubs or drivers (some sort of placeholder) for components that are not yet available. There are two approaches here:

  • Top-down testing: Using top-down testing would mean I would've checked whether the external service could make a call to the internal service and, if the internal service was not available yet, create a stub that pretends to be the internal service.
  • Bottom-up testing: Bottom-up is testing the other way around, so I'd start testing the internal service and create a driver that mimics the external service.

Incremental testing has the advantage that you can start defining tests early before all the components are complete. After that, it becomes a matter of filling in the gaps.

主站蜘蛛池模板: 汾西县| 棋牌| 商南县| 沾益县| 九龙坡区| 兴山县| 石林| 绥宁县| 满洲里市| 肇庆市| 铁岭市| 安陆市| 银川市| 云霄县| 乌什县| 宁都县| 德化县| 铜梁县| 自贡市| 镇康县| 公主岭市| 波密县| 旬阳县| 大埔区| 汾阳市| 永和县| 忻州市| 额尔古纳市| 岑溪市| 茶陵县| 嘉黎县| 宜春市| 高平市| 斗六市| 南投县| 两当县| 隆子县| 邹城市| 防城港市| 耒阳市| 瑞安市|