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

What is mean by Schedule report who is the responsible for generated that one ?

1680


if yahoo ceo asks you to do performance testing for yahoo site, what are the inputs you ask from them?

1631


Hi Friends, Can anubody give me brief overview of Automation tools.. (basics of tools-summary)of following tools? 1.Qualty Center 2.Load Runner 3.Win Runner 4.Q.T.P mail me on ...rachna.huda@gmail.com

1714


What is AGP?what is setup.inf?What are the ways to install driver?

1793


what is the difference between test case and result matrix

1686






Does anyone have any good examples of some acceptance criteria for non-functional requirements?

1550


You may undergone many projects. Do all the projects match up with customer’s expectations?

708


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..

2554


hi what are the test cases for web application..i need these example..please..mail me at mina_ims@yahoo.com

1522


IN SQL SERVER 2005, With out using Query, hw can u break down USER NAME & PASSWORD to enter the software.

1730


Relative to other technical groups in the company? Relative to your staff?

1510


what is fusion testing and impact analysis???

1684


send the senario template

1496


Can you explain calibration?

666


There are some features to improve the performance of a Product. What are those factors?

1613