How would you conduct a test: top-down or down-top? What is it? Which one is better?

Down-Top: unit -> interface -> system. Top-Down is a vice versa. You may use both, but down-top allows to discover malfunctioning at earlier phases of development and cheaper to fix than in the case of top-down.

Showing Answers 1 - 17 of 17 Answers

Priscilla

  • Aug 21st, 2006
 

Integration testing means testing the whole application,mainly checking the interface and data flow. There are two types of integration testing.

1.Incremental Testing

2.Non-Incremental Testing

Again the Incremental Testing is divided into two types.

1.Top-Down Testing

2.Bottom-Up Testing

Non-Incremental Testing comes under Big bang model where we combine all the modules and test.

  Was this answer useful?  Yes

This concept comes in the integration testing the perpouse of integration testing is combing deffirant modules in our project and cheek the funcationality

In top - down approach testing is conducted from main moduel to sub moduel

In bottom - up appoch testing is conducted from submoduel to main moduel
 
assume that your project has three modules

example for top - down 
m1 -> m2 -> m3 etc
 
bottom - up 

m3 -> m2 -> m1 

  Was this answer useful?  Yes

kumudbajaj

  • Sep 14th, 2007
 

Bottom-up and Top-Down are used in performing incremental integration testing.
In Bottom-up we start the testing from the terminal module (that do not call any other sub module), a driver is produced for every module. Next module to be tested is any module who has previously tested sub ordinate module.
In Top-Down we start the testing from the top most module, a stub is produced for every module. Next module to be tested is any module who has preveously tested super ordinate module.

G.Raghevender

  • Oct 15th, 2007
 

top down and down top are both comes under the integration testing.


Top-down:

It means core modules are designed and tested first ,after that proceeding to other modules.

Here we can replace a module with dummy modules called stubs.


Down-top:

Here base modules are designed and tested first and proceeds to other modules .

here we can use dummy connections b/w different modules called  Drivers.

  Was this answer useful?  Yes

Prabhat

  • Nov 6th, 2007
 

Are you sure these are integration approach rather than testing appoach

  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