Integration Testing
What is integration testing?
Integration Testing is a type of testing where software modules are integrated logically and tested as a group.
Typically, a software project consists of several software modules written by different programmers. This testing aims to uncover defects in the interaction between these software modules when integrated.
The main objective is to check data communication among these modules.
Objectives of Integration Testing
- Reducing risk
- Finding defects
- Preventing defects from escaping to higher test levels
- Building confidence in the quality of the interfaces
Why you should do integration testing
Although all modules of software applications have already been tested in unit testing, errors still exist due to the following reasons:
- Each module is designed by an individual software developer whose programming logic may differ from developers of other modules, so; integration testing becomes essential to determine the working of software modules.
- To check the interaction of software modules with the database and whether it is erroneous.
- Requirements can be changed or enhanced at the time of module development. These new requirements may not be tested at the level of unit testing.
- Incompatibility between modules of software could create errors.
- To test hardware’s compatibility with software.
- If exception handling is inadequate between modules, it can create bugs.