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

Why is software testing required?

674


Why do we need different environments and different data? What is the other name for environment? Justify your explanation ? real time experts pls xplain?

2342


Actually by using severity you should know which one you need to solve so what is the need of priority?

694


write test cases on wall

1709


what is conditional testing? explain and examples

1086






what are the tests u did in entire project? when it did in the project? (means at the release build to end of project) plz explain clearly

1643


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

1638


explain fish model in detail?

1716


What is a test server?

711


What are the factors affecting a manual testing project and what are the ways to overcome it?

716


What exactly is quality control?

709


Explain compatibility testing with an example.

644


tell wat u did in ur banking project?

1835


Hi Friends, This is Chennamsubbaraidu.i Have 2+ Years Realtime Exp in Manual Testing.Am Looking to Shift From My Present Company.Please if u Have Any Openings in Your Company's, Please Let Me Know.Any Location Prefer.Thanks.

1413


test cases on bangles???

2523