Site icon Tutorial

Integration Testing

Go back to Tutorial

System Integration Testing (SIT), in the context of software systems and software engineering, is a testing process that exercises a software system’s coexistence with others. System integration testing takes multiple integrated systems that have passed system testing as input and tests their required interactions. Following this process, the deliverable systems are passed on to acceptance testing.

Systems integration testing (SIT) is a testing phase that may occur after a system test of a smaller context. An additional user acceptance test (UAT) may follow. Many organizations do not have a SIT phase and the first test of UAT may include the first integrated test of all software components.

Although each software module is unit tested, defects still exist for various reasons like

Strategies of Integration Testing

Software Engineering defines variety of strategies to execute Integration testing, viz.

Below are the different strategies, the way they are executed and their limitations as well advantages.

Big Bang Approach

Here all component are integrated together at once and then tested.

It has an advantage of being convenient for small systems.

It has following disadvantages:

Incremental Approach

In this approach, testing is done by joining two or more modules that are logically related. Then the other related modules are added and tested for the proper functioning. The process continues until all of the modules are joined and tested successfully.

Incremental Approach, in turn, is carried out by two different methods of Bottom Up and Top Down.

Stub and Driver

Incremental Approach is carried out by using dummy programs called Stubs and Drivers. Stubs and Drivers do not implement the entire programming logic of the software module but just simulate data communication with the calling module.

Stub: Is called by the Module under Test.

Driver: Calls the Module to be tested.

Bottom-up Integration

In the bottom-up strategy, each module at lower levels is tested with higher modules until all modules are tested. It takes help of Drivers for testing

It has following advantages:

It has following disadvantages:

Top-down Integration

In Top to down approach, testing takes place from top to down following the control flow of the software system. It takes help of stubs for testing.

It has following advantages:

It has following disadvantages:

Sandwich Integration

In the sandwich/hybrid strategy is a combination of Top Down and Bottom up approaches. Here, top modules are tested with lower modules at the same time lower modules are integrated with top modules and tested. This strategy makes use of stubs as well as drivers.

Conducting Integration Testing

The Integration test procedure irrespective of the Software testing strategies (discussed above):

Guidelines for Integration Testing

Go back to Tutorial

Exit mobile version