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

What is application programming interface (api)?

657


What is Independant Testing? When and where this type of testing will be performed?

1585


Tell me the advantage and disadvantage of cookies?

798


What do you like about computers?

1792


What do you think the role of test-group manager should be? Relative to senior management?

1671






what is the main field of bugzilla which we fill to report bug to any developers???give some brief description??

1616


I have an UI issue "please fill out this field" pop up in firefox browser keeps scrolling with the page is it valid???

1443


If asked to create a Configuration Design Pattern, where would you start?

1280


1. what exactly is heuristic checklist approach for unit testing ?

2226


What do you plan to become after say 2-5yrs (Ex: QA Manager, Why?)

1666


Hi Frnds, this is Aman.. can anybody tell me plz what kind of QA Interview questions are asked by IDS Infotech Ltd., Chandigarh? I have lil bit experience only in Manual Testing.. Plz answer my question as soon as possible.. Thnx in advance..

1916


HI, This question is Investment Banking domain related Question. I was asked in an Interview to tell the 5 test cases for Equity,Bond,Futures and options. Please help.. Pragya

3883


What ishigh severity, low priority bug?

691


What is reverse engineering?

747


What is an error?

669