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
Can some one help me writing a manual test case for email applications like yahoo i need for www.everonn.com
What is internationalization testing (i18n testing)?
Can you explain v model in manual testing?
hi this is ashok , i never worked in medical domain , can any one pls send me with proper exaple pls Question is while emergency or normal patitent enter into hospital he entered his first and last name and he enter emergency coloumn , write test case on these ,
how to access a build & wat is its configuration
how to clarify functional requirements and non functional requirements in a srs?
What is security Hole ? Is this possible Some one can acess any of restricted page (like admin side)? How you test this previllaze?
Any one please can u tell me what is composer? An interviewer asked me do u have experience in Composer? its urgent.
How can I do Server side Interface testing in Web Testing?
Describe some staff conflicts you have handled.
Explain the advantages of automation over manual testing?
What is defect cascading in software testing?
what is e-tester?
Tell me about Agile scrum and what is your role in Scrum ?
What is decision table testing?