What are stubs and drivers?

Answers were Sorted based on User's Feedback

What are stubs and drivers?..

Answer / ramu

while integrating in top down approach any compulsory module
are missed replaced with temporary programmes known as stubs

Is This Answer Correct ?    5 Yes 1 No

What are stubs and drivers?..

Answer / vinodh anandhan

Stubs - A Piece of code that simulates the activity of the
missing component. stub is used to test a unit in isolation.

Or A stub is a piece of software that works similae to the
unit which is referenced by the unit being tested

Or A stub is a pseudo-module emulating the functionality of
a not yet implemented or integrated component.

Driver - A Piece of code that passes the test case to
another piece of code. Driver Program only calls the
function being developed but possibly manyn times to test
its behaviour on the variety of parameters.

Vinodh Anandan
Software Tester
Exceed Technologies (P) Ltd.,

Is This Answer Correct ?    7 Yes 5 No

What are stubs and drivers?..

Answer / ch.s.m.prasad,kkd

stub and driver are temporary programes while we executing
the programe if any module was underconstructed. here stub
is a calling programe. driver is a called programe

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More Manual Testing Interview Questions

What are the activities involved by the Test engineer (having 2+ yrs of exp).

1 Answers   Covansys, SLK Software,

If I want to do a version testing then how can I do it? Is there any difference between 1.0 & version?

1 Answers  

At what stage of the development cycle software errors are least costly to correct?

2 Answers   3i Infotech,

What is "V-n-V" Model ? Why is it called as "V"& why not "U" ? Also tell at what Stage Testing should be best to stared?

6 Answers  

How does u integrate the modules before performing Integration Testing?

2 Answers  

What are the Test case for the file transfer.

4 Answers  

Where do you get your expected results?

7 Answers  

What is buffer overload? How can you test buffer overload in the AUI?

0 Answers  

Have you ever written test cases or did you just execute those written by others?

1 Answers  

Describe to me the Software Development Life Cycle as you would define it.

1 Answers  

What are the types defect tracking tools?

4 Answers   Wipro,

Do you face any showstoppers issue in your current project? Explain

1 Answers   L&T,