0
550views
Compare Unit Testing and Integration Testing
1 Answer
0
2views
Integration testing is a type of testing to check if different pieces of the modules are working together. Integration testing is a type of testing to check if different pieces of the modules are working together.
Integration testing is a type of testing to check if different pieces of the modules are working together. Integration testing is a type of testing to check if different pieces of the modules are working together.
Unit tests should have no dependencies on code outside the unit tested. Integration testing is dependent on other outside systems like databases, hardware allocated for them etc.
This is first type of testing is to be carried out in Software testing life cycle and generally executed by developer. This type of testing is carried out after Unit testing and before System testing and executed by the testing team.
Unit testing is not further sub divided into different types. Integration testing is further divided into different types as follows: Top-down Integration, Bottom-Up Integration and so on
Unit testing is starts with the module specification. Integration testing is starts with the interface specification.
The detailed visibility of the code is comes under Unit testing. The visibility of the integration structure is comes under Integration testing.
Unit testing mainly focus on the testing the functionality of individual units only and does not uncover the issues arises when different modules are interacting with each other. Integration testing is to be carried out to discover the issues arise when different modules are interacting with each other to build overall system.
The goal of Unit testing is to test the each unit separately and ensure that each unit is working as expected. The goal of Integration testing is to test the combined modules together and ensure that every combined modules are working as expected.
Unit testing comes under White box testing type. Integration testing comes under both Black box and White box type of testing. Integration testing is comes under both Black box and White box type of testing.
Please log in to add an answer.