Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what we have to read to gain knowledge in banking and financial domain(software testing) for 4+ experience

2276


can anyone tell me few critical bugs in ecommerce project.

6127


Explain the sub-genres of performance testing?

1264


What Is risk Based testing?

2047


Write UI Test case, Integration Test case, Functional Test case & Performance Test case for the File Menu for MS-Word?

2734


how to write defects in excel sheets when defects occured

2073


1.Tell me negative test cases for notepad 2.Tell me the factors for for writing severity based test cases

6463


Is there any procedure of web-site development in manual testing. If yes what are factors we should test?

2444


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

5040


how to connect your project in database?

2113


i heard that mainframe testing is diff from other environments & has lot of keyboard input????pl clarify my doubt & let me know in what way its diff??

2151


What is AGP?what is setup.inf?What are the ways to install driver?

2475


how to clarify functional requirements and non functional requirements in a srs?

2167


what is the difference between test case and result matrix

2245


how will you test a wine filled bottle along with 100 glasses

2405