Uint 4 Topic 3 Integration Testing
Uint 4 Topic 3 Integration Testing
It
is a broader type of testing that covers connection between 2 or
more moduled and can also in some cases, cover the whole
Conti…
In the end-to-end process of software testing,
Integration Testing will be performed after the Unit
Testing and before System Testing.
In unit testing, each module of the software is In integration testing, all modules of the
tested separately. software are tested combined.
In unit testing tester knows the internal design Integration testing doesn’t know the internal
of the software. design of the software.
Unit testing is performed first of all testing Integration testing is performed after unit
processes. testing and before system testing.
Unit testing is white box testing. Integration testing is black box testing.
Unit testing is performed by the developer. Integration testing is performed by the tester.
Conti…
Unit Testing Integration Testing
Unit testing is responsible to observe only the Error detection takes place when modules are
functionality of the individual units. integrated to create an overall system.
The proper working of your code with the The proper working of your code with the
external dependencies is not ensured by unit external dependencies is ensured by integration
testing. testing.
Unit testing results in in-depth exposure to the Integration testing results in the integration
code. structure’s detailed visibility.
Conti…
Unit Testing Integration Testing
It tests small modules or a piece of code of an application or a product Two or more units of a program are combined and tested as a group
Typically performed by a software developer It is traditionally carried out by a separate team of testers
It can be performed at any time It is usually carried out after Unit Testing but before the overall system testing
It has very limited in scope, as it only covers a piece of code It has wider scope as it covers broader part of the application or the product
It focus on one single module It pays attention to integration among two or more modules
Test executor knows the internal design of the software Testers don't know the internal design of the software
It tests the individual component of the entire system at a time. It tests the system when components are integrated to work
together.
It is faster in execution as only a single component is tested. It is slower in execution as multiple components at a time are
tested.
It does not rely upon interacting with external dependencies. It relies upon talking with outside dependencies.
It is conducted during the early development phase. Therefore, it It is conducted after the development. Therefore it is tested by a
is tested by a developer. tester.
Maintaining unit tests is fairly cheap. It is costly to conduct and maintain Integration testing.
It identifies issues and bugs that lie within the component only. It identifies all the errors that may lie when multiple components
are under test.
It can be performed in the beginning phase of the development It is only carried out after unit testing and before system testing.
and then carried out anytime.