Home > Integration, Testing > Bottom Up Vs Top Down

Bottom Up Vs Top Down


Bottom Up

Top Down


The subsystem in the lowest layer of the call hierarchy are tested individually


Test the top layer or the controlling subsystem first



Then the next subsystems are tested that call the previously tested subsystems


Then combine all the subsystems that are called by the tested subsystems and test the resulting collection of subsystems




This is done repeatedly until all subsystems are included in the testing



Do this until all subsystems are incorporated into the test



Special program needed to do the testing, Test Driver:


Ø      A routine that calls a subsystem and passes a test case to it



Special program is needed to do the testing, Test stub:



Ø      A program or a method that simulates the activity of a missing subsystem by answering to the calling sequence of the calling subsystem and returning back fake data.


  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: