What is stub and driver in integration testing ?
Explain with example.
Answer Posted / kunal
types of integeration testing:
top down
bottom up
Top down :
testing hierarchy starts from higher level
to lower level.if suppose testers dnt get the lower modules
for testing(consider the lower modules are under developmnt)
wat the testers wil do thy wil place dummy modules and
integerate these dummy modules with the higher level
modules.in top down apparoach the dummy modules r called
Stubs.
Stubs- Def
stubs r the dummy modules tht simulates the low
level modules.
Bottom up:
in this the dummy modules r called drivers.
Drivers- Def:
drivers r the dummy modules tht simulate the high
OR
Integration testing: carrying out integration tests.
Integration tests (After Leung and White) for procedural
languages. This is easily generalized for OO languages by
using the equivalent constructs for message passing. In
the following, the word "call" is to be understood in the
most general sense of a data flow and is not restricted to
just formal subroutine calls and returns ? for example,
passage of data through global data structures and/or the
use of pointers.
Let A and B be two components in which A calls B.
Let Ta be the component level tests of A
Let Tb be the component level tests of B
Tab The tests in A's suite that cause A to call B.
Tbsa The tests in B's suite for which it is possible
to sensitize A -- the inputs
are to A, not B.
Tbsa + Tab == the integration test suite (+ = union).
| Is This Answer Correct ? | 13 Yes | 15 No |
Post New Answer View All Answers
There is an opening in our organization Sierra Atlantic, Hyderabad. All Manual test engineers with 2-3 years of experience can forward your resumes to mah_cs82@yahoo.com before May 01, 2008. (Only manual testers) with a covering letter, current CTC and Expected CTC.
When did u complete testing ? Which scenrio should not be in automation testing ? why ?
What do you do if the bug that you found is not accepted by the developer and he is saying its not reproducible.
Can you explain regression testing and confirmation testing?
How do you scope, organize, and execute a test project?
Risk Analysis a) 2 step, b)3 step, c) 4 step, d) 6 step
Do submit teststrategy to customer if yes at what time
Hi All. How can we write negative test cases for Logout Operation ? Please place the answer with a few details and if possible add some related object properties. "A tester exposes his/her ability not only by words he/she also proof it by work"
how to write the test cases for mark as read/unread mails for gmail inbox?and what are the testings we will do?
Can any one suggest how to write the bug reports effectively by optimizing what we want to describe?
what r the 5 major defects that u found in ur shopping related project?
What is the difference between SIT AND IST?
how to write defects in excel sheets when defects occured
.In languages testing, what is the fixed part and changing part?
What are the different cost elements involved in implementing a process in an organization?