Chapter 3 - Integration Testing
Chapter 3 - Integration Testing
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. But check how it’s linked to the Mail Box Page.
Similarly Mail Box: Check its integration to the Delete Mails Module.
Test
Test Case Objective Test Case Description Expected Result
Case ID
Check the interface link between the Enter login credentials and
1 To be directed to t
Login and Mailbox module click on the Login button
Check the interface link between the From Mailbox select the email Selected email sho
2
Mailbox and Delete Mails Module and click a delete button the Deleted/Trash
Below are the different strategies, the way they are executed and their limitations
as well advantages.
Big Bang Testing
Big Bang Testing is an Integration testing approach in which all the components
or modules are integrated together at once and then tested as a unit. This
combined set of components is considered as an entity while testing. If all of the
components in the unit are not completed, the integration process will not
execute.
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.
Incremental Approach, in turn, is carried out by two different Methods:
Bottom Up
Top Down
Stubs and Drivers
Stubs and Drivers are the dummy programs in Integration testing used to
facilitate the software testing activity. These programs act as a substitutes for the
missing models in the testing. They do not implement the entire programming
logic of the software module but they simulate data communication with the
calling module while testing.
Stub: Is called by the Module under Test.
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
Advantages:
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.
Entry Criteria:
Exit Criteria: