The Difference between Unit Testing and Integration Testing

Page 1

WHAT IS THE DIFFERENCE BETWEEN UNIT TESTING AND INTEGRATION TESTING?

UNIT TEST

INTEGRATION TEST

It is performed to check the individual modules/components of the software

It is done to check whether the unit tested modules are properly integrated and working fine together or not

It is a white box testing technique

It is a black-box testing technique

It is the first step in the software testing lifecycle

It is performed after unit testing and before system testing

It checks the functionality of the modules

It checks the integration errors present if any

It starts with the module specification

It starts with the interface specification

It does not verify whether the code works fine with external dependencies

It verifies that the code works with external dependencies

Detection of defects is easy

Detection of defects is difficult

It is not sub-divided in to further types

It is sub-divided into further types such as Top-down, bottom-up, and so on.

It can be done without the need for other units to be complete

The units must be completed before executing the integration test

It can be run in any order, or even simultaneously

Can be automated using tools like – Protractor, Rational integration tester, TESSY, LRDA

THANKS


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.