What are test driver and test stub and why it is required?



What are test driver and test stub and why it is required?..

Answer / Vivek Dixit

Test Driver, also known as Test Harness, is a piece of software used to run and evaluate test cases. It isolates the code under test from the rest of the system and provides inputs and checks the outputs. A Test Stub is a simplified version of an external component that is not available during testing. It allows the test driver to simulate the behavior of the external component.n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QA Concepts Interview Questions

What are your salary expectations?

7 Answers   IBM,


can u share your though about test leakage matrix with template?

1 Answers   XYZ,


Have you used any automation tools?

1 Answers  


What is IEEE? Why is it important?

4 Answers  


What has not worked well in your previous QA experience and what would you change?

1 Answers  


How do you start your QA if there are no system requirements?

7 Answers   Lucent,


What is meant by retesting? Is it similar to smoke/sanity testing?

3 Answers  


What is the basis for choosing the sdlc model for development of software?

1 Answers  


Can any one tell me the test scenario for a 'Label' with specification "This field may contain a number that is auto generated by the system. Every subsequent quote should display the next available number "

2 Answers   Bell, IOCL,


What are the tests activities that you want to automate in a project?

1 Answers  


What are the types of performance testing ?

10 Answers  


what is build and release and what is the difference b/w them?

1 Answers  


Categories