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 driver and stub? where it is used, in top down or
bottom up approach?

Answers were Sorted based on User's Feedback



What is driver and stub? where it is used, in top down or bottom up approach?..

Answer / varsha b

Driver and stub is used in integration testing.

Driver is used in bottom up approach of integration
testing.driver calls the function to be tested.

Stub is used in top down approach of integration
testing.stub is called by the function to be tested.It is a
piece of code which stimulates the activity of other module
in system.

E.g. System consist of modules A,B and C.
Development of module A and B is done.Now we cant afford to
wait till the time module C is ready.In this case we can
develop dummy of module c which will stimulate the activity
of module c in system and we can continue with our
integration testing.Here dummy of module C is stub.When we
will connect all three modules to ensure they function
properly then it is called as driver.

Is This Answer Correct ?    24 Yes 3 No

What is driver and stub? where it is used, in top down or bottom up approach?..

Answer / narendra

driver is a replacement of unfinished main component.

stub is a replacement of unfinished sub components.

driver is used in Botton-up approach.

stub is used in Top-down approach.

Is This Answer Correct ?    23 Yes 4 No

What is driver and stub? where it is used, in top down or bottom up approach?..

Answer / narendra

Driver is a simulation(sample) for calling program ,it is
used in Bottom-up Approach

Stub is a simulation for called program ,it is used in
Top-Bottom Approach

Is This Answer Correct ?    9 Yes 2 No

What is driver and stub? where it is used, in top down or bottom up approach?..

Answer / sunithayagnamurthy

TTopdown & bottom up approch is included in Integration
testing..
Topdown approch: to test Main module to
submodule ..sometimes the main module is till not developed
the temparary module isdeveloped and tested this temparay
module name is called stub.Its acts like submodule
Bottom up apporch :
Bottom up approch:to test submodule to main module...
Some times submodule is still not developed the the
temporary module is developed i,e called driver .It act as
main module

Is This Answer Correct ?    4 Yes 2 No

What is driver and stub? where it is used, in top down or bottom up approach?..

Answer / ajk

while integrating different functionality or modules to
unfinished module, drivers and stubs are used. driver acts
as parent module when integrating to a child component so it
is bottom up approach and stub acts as a missing child
component when it is integrated to a parent module so is top
to bottom approach.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Manual Testing Interview Questions

What do you mean by testing matrices?

3 Answers   Keane India Ltd,


in manual testing functional testing means to check the behviour of the appln.it is correct or let me know

4 Answers  


if my documaents (SRS &FRS) having earros(does not meets) the requirements in that sitchuvation,which document i should take to write the testcases?(othere wise which steps i should take?(Usha)

6 Answers   CTS,


U have a Scenario and there is box to enter values from 0 to 1000. Now what is the Test data u will test? What are the positive and negative test cases? How will U use Equivalence class Partition ?

4 Answers  


1.Alpha testing done by develping environment. Testing is done by before release or After release builds ?

2 Answers  


what is installation in software referred to as?

2 Answers  


difference between v-model and refinement form of v-model?

1 Answers  


What r blackbox & whitebox testing techniques?

3 Answers  


when will update and modify the test object properties in the repository?

1 Answers   IBM,


What should you do if you don`t have sufficient document,how do you go and work in that environment.

1 Answers   Genpact,


What r the functional testing u perform?

0 Answers   Synergy,


at what step sanity testing and smoke testing do?

4 Answers  


Categories