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

when do you escalte issue to your manager?

1786


Architectural structure of the insurance project?

764


What is the difference between code walkthrough and code review? What is the difference between walkthrough and inspection?

2489


What do you do (with the project staff) when the schedule fails?

1623


what is traceability matrix and its usefulness

3408






Explain the strategy for testing a Java application?

1645


how to indentify memory leakages after the build

1631


What is meant by entry criteria and exit criteria in software testing?

673


Can u give me explanation about section 508 testcase and Testcase for this section. It need a details checklist for the same Manimozhi

2247


What is configuration management in software testing ?

4244


Can automation testing replace manual testing?

637


Hi,friends i am going to write ICST certificate exam on augest.So can anybody post some of sample qusetions for ICST certificate exam.Really it will be useful for me

1582


9.Data – driver automation typically includes?

2906


hi friends, i have completed course and project on insurance domain in mindq testing institution...can any working employee please tell me ,which notes( testing subject notes,project notes)i have to prefer first.i was studied both notes and getting confussion.one of my friend got job throughly only project notes and said that project notes is enough to get job.in which way ,i have to prepare interview( which important topics first ), if you are follow any strategy to interview purpose,pls send me important topics list.

2864


Hi All I want discuss abt Testing tools is any one available online in google chat?

1585