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

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.

主站蜘蛛池模板: 娱乐| 沁水县| 壶关县| 双辽市| 泗洪县| 上虞市| 沂源县| 宁德市| 包头市| 丁青县| 梁平县| 滕州市| 许昌县| 襄垣县| 南丹县| 方正县| 永安市| 钦州市| 大安市| 翁源县| 浦县| 南澳县| 泸州市| 沾化县| 海林市| 白山市| 新安县| 三门峡市| 汕头市| 柏乡县| 安义县| 蕲春县| 油尖旺区| 固始县| 成安县| 吴旗县| 涟水县| 抚州市| 安阳市| 沈丘县| 鹰潭市|