What is Stub and Driver ? What functions are used in stubs
and driver?

Answer Posted / castor_troy

The term stub and drivers comes in integration testing.

Say while top down integration testing we have 3 modules A,
B and C. say A and B are ready but C. But A and B calls
functions from C. In this case, to proceed with the testing
a dummy code is written to work as C. This function/code is
called a Stub.

Same way in Bottom up testing Say A, B are ready but C is
not. And C has to return value to A and B. For this a dummy
code is written to return a vale. This is called Driver.

Is This Answer Correct ?    26 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi Friends, I want to know the best institute in hyderabad which is giving training in 'SAP Testing' and who is the best faculty. Regards, Imtiyaz..

2557


Can some one help me writing a manual test case for email applications like yahoo i need for www.everonn.com

1531


Can anyone tell me about banking project? abt the transactions? the flow?

1523


What is common interface?

1521


What is difference between Bug resolution meeting & Bug Review Committee? Who are participants?

2409






What are the principles of software testing?

678


need testing projects where can i find them

1678


hi can anyone tell me about vision plus testing? and what about its future

20957


If I want to check compability of software in a MAC OS then which steps shold I follow?

1601


Differentiate verification and validation?

827


Did any one completed CSTE certiication? can u send sample question papers? how to apply that? pls send it to my mail id - dsnathi@gmail.com THANKS IN ADVANCE

1661


Test cases for Internal IP Messenger

4105


What is Mixed Testing

1634


What is PBX Testing & What is Test coverage?

9859


user id @ yahoo.com (or) yahoo.co.in (or) gmail.com.... etc

1937