What is Top-down integration testing?

Top-down integration testing takes place from top to bottom, following the control flow or architectural structure (e.g. starting from the GUI or main menu). Components or systems are substituted by stubs. Below is the diagram of ‘Top down Approach’:

what is top down testing approach

Advantages of Top-Down approach:

  • The tested product is very consistent because the integration testing is basically performed in an environment that almost similar to that of reality.




  • Stubs can be written with lesser time because when compared to the drivers then Stubs are simpler to author.

Disadvantages of Top-Down approach:

Basic functionality is tested at the end of cycle.

Share This:
Facebooktwittergoogle_plusredditpinterestlinkedintumblr