Monday, September 10, 2012

Integration testing types

What are the different types of Integration testing?

Answer:
Big Bang:
In this approach, all or most of the developed modules are coupled together to form a complete software system or major part of the system and then used for integration testing. The Big Bang method is very effective for saving time in the integration testing process. However, if the test cases and their results are not recorded properly, the entire integration process will be more complicated and may prevent the testing team from achieving the goal of integration testing.

A type of Big Bang Integration testing is called Usage Model testing. Usage Model Testing can be used in both software and hardware integration testing. The basis behind this type of integration testing is to run user-like workloads in integrated user-like environments. In doing the testing in this manner, the environment is proofed, while the individual components are proofed indirectly through their use. Usage Model testing takes an optimistic approach to testing, because it expects to have few problems with the individual components. The strategy relies heavily on the component developers to do the isolated unit testing for their product. The goal of the strategy is to avoid redoing the testing done by the developers, and instead flesh out problems caused by the interaction of the components in the environment. For integration testing, Usage Model testing can be more efficient and provides better test coverage than traditional focused functional integration testing. To be more efficient and accurate, care must be used in defining the user-like workloads for creating realistic scenarios in exercising the environment. This gives that the integrated environment will work as expected for the target customers.

Top-down and Bottom-up:

Bottom Up Testing:
In this approach, integration testing is carried out where the sub level components are tested first, and then used to assist the progress of testing of higher level components. This approach is repeated until the modules at the top are tested.

Top Down Testing:
In this approach, integration testing is carried out where the top integrated modules are tested first and then branch of the module is tested step by step until the end of the related module.

Sandwich Testing / Hybrid Testing:
In this approach the combinations of top down testing with bottom up testing is carried out.

The main advantage of the Top-Down, is that it is easier to find a missing branch link. With Bottom-Up approach bugs are more easily found.


No comments:

Post a Comment