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

How many types of api testing are there?

739


Tell me about Agile scrum and what is your role in Scrum ?

1452


What is the main use of preparing traceability matrix and explain the real time usage?

830


!what are the entry criteria for antomation testing ?

2112


What is stub?

822






Write a Test scenario for Outlook Search functionality.

2687


How could you present test strategy for the product testing?

743


Can you explain steps in function points?

760


What is srs and brs document?

821


What is the test harness?

757


Describe your personal software development process.

2250


Tell me the algo for convering number into words. Meanse if the number is 4567 then it should print Four Thousand Five Hundred Sixty Seven

1657


Explain what is exhaustive testing?

920


Sentence "Working from onsite is effective" is growing in IT field. How do we bring that knowledge to offshore and do an effective job in Offshore?

1749


Can you do system testing at any stage of sdlc?

757