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
What is security Hole ? Is this possible Some one can acess any of restricted page (like admin side)? How you test this previllaze?
Explain the components of a test plan?
What is the difference between pilot and beta testing?
If you are handling a product testing and if there are around 100 test cases and in them few test cases are failed then at the end of the day how will you treat whether the product is pass/fail.? consider the failed test cases are in functional requirements.
Explain thread testing.
can u merge 10GUI map files into a single GUI map file in winrunner?
What is the Difference between Network testing and Web Testing?
write a testing stratgy \ approach for a product that you are use every day (e.g gmail, out look etc)
Hello Varun, Kindly send me the material as well as sample question papers as i am interested in doing the certification. Kindly help me out in this regard. Here is my mail ID: bjyothitesting@gmail.com
How do you test google or gmail application??tell me step by step process??
How can you do the scalability testing?
how to connect oracle with test director? in testdirector we will be getting only reports? pls answer Thanks in Advance
what is the testing approach for windows Explorer(Not IE Explorer)
What is split testing?
any one giv test cases for wordpad using equivalence class partioning