Integration Testing - What Is, Types, Top Down & Bottom Up Example
Integration Testing - What Is, Types, Top Down & Bottom Up Example
Integration Testing - What Is, Types, Top Down & Bottom Up Example
What is Software
Testing Why Testing is
NOW Important
PLAYING
Although each software module is unit tested, defects still exist for various reasons like
Sample Integration Test Cases for the following scenario: Application has 3 modules say
'Login Page', 'Mailbox' and 'Delete emails' and each of them is integrated logically.
Here do not concentrate much on the Login Page testing as it's already been done in Unit
Testing (/unit-testing-guide.html). But check how it's linked to the Mail Box Page.
Similarly Mail Box: Check its integration to the Delete Mails Module.
Test
Case Test Case Objective Test Case Description Expected Result
ID
Check the interface link From Mailbox select Selected email should
2 between the Mailbox and the email and click a appear in the
Delete Mails Module delete button Deleted/Trash folder
Below are the different strategies, the way they are executed and their limitations as well
advantages.
Advantages:
Disadvantages:
Incremental Testing
In the Incremental Testing approach, testing is done by integrating two or more modules
that are logically related to each other and then tested for proper functioning of the
application. Then the other related modules are integrated incrementally and the process
continues until all the logically related modules are integrated and tested successfully.
Bottom Up
Top Down
Diagrammatic Representation:
(/images/bottom-up-integration-testing.png)
Advantages:
Disadvantages:
Critical modules (at the top level of software architecture) which control the flow of
application are tested last and may be prone to defects.
An early prototype is not possible
Diagrammatic Representation:
(/images/top-down-integration-testing.png)
Advantages:
Disadvantages:
Sandwich Testing
Sandwich Testing is a strategy in which top level modules are tested with lower level
modules at the same time lower modules are integrated with top modules and tested as a
system. It is a combination of Top-down and Bottom-up approaches therefore it is called
Hybrid Integration Testing. It makes use of both stubs as well as drivers.
(/images/1/Hybrid-Integration.png)
Exit Criteria:
Testing Tutorials
Testing Insurance Applications (/testing-insurance-applications-with-sample-testcases.html)
(https://www.facebook.com/guru99com/)
(https://twitter.com/guru99com)
(https://www.linkedin.com/company/guru99/)
(https://www.youtube.com/channel/UC19i1XD6k88KqHlET8atqFQ)
(https://forms.aweber.com/form/46/724807646.htm)
About
About Us (/about-us.html)
Contact Us (/contact-us.html)
Career Suggestion
SAP Career Suggestion Tool (/best-sap-module.html)
Interesting
eBook (/ebook-pdf.html)
Blog (/blog/)
Quiz (/tests.html)
Execute online
Execute Java Online (/try-java-editor.html)