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

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.

主站蜘蛛池模板: 仙游县| 出国| 荔波县| 合川市| 大埔区| 扎赉特旗| 郯城县| 句容市| 平乡县| 连山| 淮安市| 古丈县| 定边县| 塔城市| 教育| 麻城市| 宣汉县| 宁夏| 永德县| 富川| 安泽县| 民权县| 海盐县| 和平区| 洛浦县| 隆化县| 恭城| 临江市| 余干县| 石屏县| 双辽市| 石屏县| 莱州市| 沐川县| 运城市| 金湖县| 西乡县| 松潘县| 唐山市| 沾益县| 五大连池市|