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 noise variables?

1977


Presently working in software company as a software test engineer with 1.5 yrs of experience but i am 2002 passout.Gap is 6 yrs.Is there any problem getting job in MNC? Which criteria HR follows for recruiting test engineer?

1626


How can you define state tanstion testing aswell decesion testing with examples.how you can differ them too??

1788


What makes a good test engineer?

729


Can you explain the workbench concept?

711






WHAT IS OBJECT REPOSITORY? AND IT TYPES? HOW MANY TYPES OF ACTIONS ARE THERE IN QTP? CAN WE ADD NEW OBJECTS AND PROPERTIES INTO SHARED OBJECT REPOSITORY?

1462


If you're given a program that will average student grades, what kinds of inputs would you use?

4422


Can anyone please tell in detail about the Rally tool and how a tester is going to use it.

2075


Hi, I was asked following question during a interview. Please answer it: Password field is there,we can accepts every character except underscore and semicolon. It can accept min 6 characters and maximum 12 characters. Prepare boundary value and equivalence class test cases.

7143


what type of testing techniques are using after accept the build?

1642


How do you determine user soad for a perf test of a Web application?

1879


In what situation would you want to parameterize a text verification check?

1692


Is an "A fast database retrieval rate" a testable requirement?

1529


How do you perform configuration management with typical revision control systems?

1655


what is coupling integration testing

1640