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

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.

主站蜘蛛池模板: 马龙县| 益阳市| 肇东市| 子洲县| 安溪县| 三河市| 宁河县| 府谷县| 建湖县| 华亭县| 波密县| 周宁县| 保德县| 韶关市| 乌兰县| 霍山县| 新巴尔虎左旗| 临桂县| 蓬莱市| 得荣县| 沈阳市| 临高县| 浪卡子县| 巨鹿县| 宜都市| 富锦市| 金川县| 揭西县| 宁强县| 祁连县| 上杭县| 罗田县| 夹江县| 航空| 紫云| 大城县| 那曲县| 关岭| 当雄县| 安仁县| 视频|