How to write Integration Testcases?

Showing Answers 1 - 7 of 7 Answers

In integration testing you need to write test cases for the Interface between the modules, For eg: if you are writing test cases for the integration of 3 modules M1, M2 and M3. you need to write the test cases for the individual behaviour of M1, M2 and M3. After that you need to write the test cases for their combinations like when we integrate M1 and M2, to test how will be the behaviour of M1+M2 and to verify the interface between them. in the same way for the combinations of M2, M3  M3,M1 and M1, M2 and M3. Here when we are integrating different modules, u need to write test cases to verify mainly the interface between the modules and to verify wheather the behaviour is meeting the requirements. The Integration test cases will be in the same format of normal testcases, but with some more additional fields like, Modules integrated.


  • Apr 4th, 2007

Integration Test Cases are written based on logical design to ensure complete coverage of all logical design elements.

  Was this answer useful?  Yes


  • May 30th, 2009

Usually we need to follow bottom up approach in integration testing. where modules are placed in an inverted tree structure.

So each combination / permutation of modules tested according to either

Breadth first manner
Depth first manner

according to module availability, nature of the project , risks involved and expertise of tester.

  Was this answer useful?  Yes

Integration Test cases : It is nothing but integrating of one or more modules or components or forms to form a single built, for that we write the test cases and call it as Integrating Test cases.

i.e For example, If A1,A2,A3 are the modules then if we are integrating all these 3 module`s in that, if any field needs a input from A3, we write the test case just like writing a simple test cases there is nothing difficult in it.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions