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 are your achievements in your organization ? Guyz very very urgent , help me

1655


What is alpha testing?

678


Unit Testing can be done by using Nunit?

722


What is the difference between load and stress testing?

720


send the senario template

1494






What is big bang approach?

789


Can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

1499


What impact ratings have you used in your projects?

685


What processes/methodologies are you familiar with?

1894


What are the possible test scenarios around AVS check of any credit card? (Testing through payment gateway online) (What are the fields we should check while checking AVS and CVV)

1122


Test Cases For Router&Switch

2064


What knowledge I must have as a 3 yrs. manual tester??

1634


Can you explain regression testing and confirmation testing?

704


What Is risk Based testing?

1510


About Hierarchy level in your company.

1600