What is stub and driver in integration testing ?
Explain with example.

Answer Posted / mfsi_chinmayb`

Hi
Let me give a brief idea about Integration testing.
As the name suggest it is a process to sum up or assemble
different modules of the project and then jump for a testing

Let's we have three modules A,B,C.
While integration testing we have complete module A
developed but the rest are in construction.If we need any
function from B or C then we need to create a dummy one for
that t make the testing success for A.
Here the STUB is the dummy function for B or C and the
DRIVER is the module A who called the stub.

In the bottom to up approach(B,C are ready and A is undone)
then the DRIVER is B or C and the STUB is Dummy function.

Is This Answer Correct ?    19 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

few automation basic questions One question to write a scriot in any language you know.

1996


In interview How do explain in Testcase of Calcuator,Cellphones, Email testing?

1966


Are there more defects in the design phase or in the coding phase?

1165


How could you present test strategy for the product testing?

848


Can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

1680


What are joins and subjoins in the data bases what is data driven testing what is verification and validation What is Quality Assurance (QA) and Quality Control (QC) Is Verification is related to QA and Validation is related to QC ? which type of model you follow basically in your project what is a use case How to test a Bike how to test a Lift (Elevator). which configuration Management tool do you use which Bug tracking tool do you use explain Bug life cycle what is Regression testing what is ALPHA testing ans BETA testing What types of testings comes under Non functional testing what is TEST DIRECTOR what is CMM and CMM i whar are Expressions in Winrunner What is a Compile module Is it Necessary to open the tool first or the application first after getting a bug what will you do if you add a new object or a new module for the existing application then how will you test the application which Defect tracking tool do you use what is change management What is smoke Testing what is sanity testing A application is given to you but the requirements and functionalities are missing what will you do to start the testing which testing documents will be received by the client

2236


Test approach to windows scheduler?

1868


What is 'Account Conditioning'?

4248


how to access a build & wat is its configuration

2000


What is deferred status in defect life cycle?

936


what is configuration management tool - send to thanu_santo@rediffmail.com. what is testing senarios

2034


what are metrics and what are metrics did u collect in you are project

2123


how is market for testing in banglore,chennai,pune,delhi?

1949


Discuss what test metrics you feel are important to publish an organization?

4534


What is exploratory testing and when should it be performed?

901