What is stubs and drivers in integration testing? Give some examples on how it is implemented in integration testing?

Showing Answers 1 - 4 of 4 Answers

Masthanamma

  • Jul 21st, 2006
 

In integration testing, stubs and drivers are the temporary programs that are used in the place of unconstructive submodules and parent module.

In Integration testing, while testing the programs if any program of sub module  is in construction instead of that we use stubs whereas for main program,we use drivers.

  Was this answer useful?  Yes

sivapratha

  • Jul 22nd, 2006
 

The stubs are "called functions". Drivers are the "calling function". the stubs and drivers are basically dummy codes used instead of the original module while performing integration testing.

Stubs are used in the top-down approach where the testing starts from core product and ends with adding all least modules.

Drivers are used in bottom-up approach where the least modules are tested and integrated to form the final product.

  Was this answer useful?  Yes

grieve.noel

  • Feb 16th, 2008
 

Stubs are nothing but a short Projecting part, used when you perform component testing before integration testing to stimulate external date elements.

  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