What is stub and driver in integration testing ?
Explain with example.

Answer Posted / raja

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 ?    22 Yes 55 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the challenging position faced in the testing not in point of management point of view it must be in the point of while testing the application?

4231


How do you scope, organize, and execute a test project?

1844


write test case for linked in sign up page ?

1979


hi every one can you send me ISTQB Course material on my Email id deeptimundra997@gmail.com

1884


What is validation in software testing?

795






If automating - what is your process for determining what to automate and in what order

1614


what types of testing you performed in transfer funds module....

1255


What is the most important phase in STLC and Why

1257


Tell me some Adhoc testing scenarios of ebay (online auction product)?

3508


What is PBX Testing & What is Test coverage?

10092


What are the Important test scenarios which can be used for testing a web site?

844


Discuss what test metrics you feel are important to publish an organization?

4297


HI can i know who is taking real time testing classes in banglore? i am preparing to put 3+year experience in testing if possible anybody give suggestions for preparing 3+exp

1576


What is software review?

901


What is difference between Build, Version and Release

1790