What are stubs and drivers?

Answer Posted / 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.,
Chennai

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can any1 tell me suppose u r doing manual testing on unix platform with Shell Script, then how it is done? How u r implementing it & what is the use of Shell scripting on Manual Testing?

3474


how we write test cases to brs,srs,hlds,llds

2863


Hello Varun, Kindly send me the material as well as sample question papers as i am interested in doing the certification. Kindly help me out in this regard. Here is my mail ID: bjyothitesting@gmail.com

1747


What is a test log?

641


How do you scope out the size of the testing effort?

1914






online demo for bug tracker tool(let me know the website)

1576


What will be the testcase for a uniquely generated number in the application?? i mean to say is, how will i conform the application is generating a unique value.... please do answer...

1736


difference between change management and configuration management

1578


How to do integration testing on duster......

1243


Hi friends I am kranti completed my IT diploma in 2005 & after that complete my software testing course. Now I am working in small software form as software tester. I have 2 + year experience in manual testing. Now I wan to change company. Plz told me is there any effect that I can not have any degree although I have 2 + experience ?

1535


What are the phases involved in software testing life cycle?

683


plz tell me the difference b/w PB/MF based appl.with examples. Thanks

1528


What can you tell about the project if during testing you found 80 bugs in it

1815


What are the main key components in Web applications and Client Server applications? and their differences?

1490


PLEASE CAN ANYONE SEND ME THE TEST SCENARIO BASED QUESTIONS FOR 3+ EXPERIENCE IN MANUAL TESTING

3869