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

Integration testing

Integration testing should expose defects in the interfaces, and the interaction between integrated components or modules. There are different strategies for performing integration testing. These strategies describe the order in which units are to be integrated, presuming that the units have been separately tested. Examples of common integration strategies are the following:

  • Top-down integration: This strategy starts with the main unit (module), that is, the root of the procedural tree. Any lower-level module that is called by the main unit should be substituted by a test double. Once testers are convinced that the main unit logic is correct, the stubs are gradually replaced with the actual code. This process is repeated for the rest of the lower-unit in the procedural tree. The main advantage of this approach is that defects are more easily found.
  • Bottom-up integration: This strategy starts the testing process with the most elementary units. Larger subsystems are assembled from the tested components. The main advantage of this type is that test doubles are not needed.
  • Ad hoc integration: The components are integrated in the natural order in which are finished. It allows an early testing of the system. Test doubles are usually required.
  • Backbone integration: A skeleton of components is built and others are gradually integrated. The main disadvantage of this approach is the creation of the backbone, which can be labor-intensive.
Another strategy commonly referred in the literature is big-bang integration. In this strategy, testers wait until all or most of the units are developed e integrated. As a result, all the failures are found at the same time, making very difficult and time-consuming to correct the underlying faults. If possible, this strategy should be avoided.
主站蜘蛛池模板: 武隆县| 噶尔县| 鄂温| 徐州市| 正定县| 延吉市| 庆安县| 农安县| 赣榆县| 丰镇市| 定西市| 贵德县| 竹山县| 霍州市| 息烽县| 玉山县| 永康市| 溧水县| 大姚县| 岳普湖县| 商都县| 舞阳县| 大港区| 莱州市| 施甸县| 桦甸市| 绩溪县| 涪陵区| 甘洛县| 岳普湖县| 镇赉县| 图们市| 泰顺县| 临沭县| 盐山县| 望江县| 高州市| 黑水县| 双流县| 新乡县| 介休市|