What is difference between stub and driver?

Showing Answers 1 - 3 of 3 Answers

stub and driver is tempory programs which use to testing.

STUB : when main program is ready and sub modules are not ready at that time tester create tempory program which is called as "STUB". then connect main program with stub.
afterword perform testing.

DRIVER: when sub modules are ready and main program is not ready then software tester create driver tempory program to connect sub modules for testing.

 

  Was this answer useful?  Yes

stub - it tempory progam which is use at time of there is no ready of sub modules of project.

Driver - it tempory program which is use at time of there is no any main program is ready and other sub modules completed.

  Was this answer useful?  Yes

L.N.Aravind kumar

  • May 9th, 2006
 

STUB:

Normally in top to down approach of integration when the child modules are integrated.some of the child modules are missing that causes abstruction for the integration among these modules.Hence the temporary solution in terms of a small program is employed in the place of missing modules to simulate the activity of them.These r known as STUB.

DRIVER:

Normally in Bottom to up approach the child modules are developed first and they r intgrated with the recently developed parent module.In this situation where parent module may not available.This may result hinderance to the integration between the child modules Here to provide successful integration a temporary program as a soluion is employed in this place of missing parent module this program is known as DRIVER.

  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