What is the Difference between Stub Testing and Driver
Testing?

Answers were Sorted based on User's Feedback



What is the Difference between Stub Testing and Driver Testing?..

Answer / shalini

stub testing:
In top down approach,a core module is developed.to test
that core module, small dummy modules r used.so stubs r
small dummy modules that test the core module.

Driver testing:
in bottom up approach, small modules r developed.to test
them a dummy core module called driver is developed.

Is This Answer Correct ?    64 Yes 10 No

What is the Difference between Stub Testing and Driver Testing?..

Answer / govind

These are the different types of integration techniques

Stub: When u approached top down approach you have to use
stubs. ie when testing the module from top level hierachy
to bottom level hierachy
DEF: Stub is nothing but a calling function for the
function to be tested.

Driver: When u approached bottom up approach you have to
use driver. ie when testing the module from bottom level
hierachy to the top level hierachy
Driver: Driver will act as a dummy program for the fucntion
to be tested

Is This Answer Correct ?    49 Yes 6 No

What is the Difference between Stub Testing and Driver Testing?..

Answer / neelohit

# 1 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)
what the testers will do they will place dummy modules and
integerate these dummy modules with the higher level
modules.in top down apparoach the dummy modules are called
Stubs.

Stubs- Define as --> stubs are the dummy modules tht
simulates the low level modules.

Bottom up: In this the dummy modules are called drivers.

Drivers- Def: Drivers are the dummy modules tht simulate
the high level modules.

Is This Answer Correct ?    13 Yes 2 No

What is the Difference between Stub Testing and Driver Testing?..

Answer / yasir

Stub means a Dummy model of a particular module.

Suppose we have to test the interface between 2 modules A
and B and we have developed only module A while Module B is
yet in development stage.
So in such case we can not test module A but, if we prepare
a dummy module, having similar features like B then using
that we can test module A.
Our main aim in this is to test Module A & not Module B so
that we can save time otherwise we have to wait till the
module B is actually developed.

Hence this dummy module B is called as Stub.

Now module B cannot send/receive data from module A
directly/automatically so, in such case we have to transfer
data from one module to another module by some external
features. This external feature used is called Driver.

Is This Answer Correct ?    10 Yes 0 No

What is the Difference between Stub Testing and Driver Testing?..

Answer / vishnukumar.

a temporary files when doing the integratin test.
developers use stubs and drivers for time being to conduct
the test.
after the original modules are developed these will be
replaced with the actual one.
for the base modules replacement they use drivers and
for the core modules replacement they use stubs.

Is This Answer Correct ?    11 Yes 3 No

What is the Difference between Stub Testing and Driver Testing?..

Answer / raj

stub testing:
In top down approach,a core module is developed.to test
that core module, small dummy modules r used.so stubs r
small dummy modules that test the core module.

Driver testing:
in bottom up approach, small modules r developed.to test
them a dummy core module called driver is developed.

Is This Answer Correct ?    7 Yes 1 No

What is the Difference between Stub Testing and Driver Testing?..

Answer / maddy

Driver: test tool that replaces a component that takes care
of the control or the calling of a component or system
Stub: special purpose implementation of a software
component that calls or is otherwise dependent on it . it
replaces a called component

Is This Answer Correct ?    8 Yes 4 No

What is the Difference between Stub Testing and Driver Testing?..

Answer / aneesha

STUB:In top down integration testing stubs are used.lower
level modules are normally simulated by stubs,as u add
lower level code,u will replace stubs with the actual
components.

DRIVER:It is a sub module of main module.this is used in
bottom up integration.After completiong the testing.u will
replace the sub module.i.e drive

Is This Answer Correct ?    2 Yes 0 No

What is the Difference between Stub Testing and Driver Testing?..

Answer / dharmaraj allukapally

TEST STUB:-
While integrating(combining) the modules in Top down approach,
if at all, any mandatory module is missing, then that module
is replaced with a temporary program known as TEST STUB

TEST DRIVER:-
While integrating the modules in bottom down approach,
if at all, any mandatory module is missing, then that module
is replaced with temporary module known as TEST DRIVER

dharmarajttestengr@gmail.com
9885531134

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More Manual Testing Interview Questions

wt is the diff. bet. verification and validation If possible explain with one example.

15 Answers   Syntel,


1.hi plz can u tell me some tesyt case for creating a new folder and rename that folder 2. second plz send me some test cases for a msword file and for "save as option"

1 Answers  


What are the major components of Perf Test Report?

0 Answers  


what are the SQL commands used in for union,intersection & all operations.Please reply fast.

2 Answers  


Give an example of high severity and low priority bug?

2 Answers  






1.While doing regression testing one bug raised due to functionality dependency, what is the bug status that one?

12 Answers   IBM,


Who is the father of software testing?

2 Answers  


What is Dynamic Binding and Dynamic Loss?

0 Answers   Digient Technologies,


Test Manager's role in preparing proposals?

1 Answers  


difference between manual testing and blackbox testing

2 Answers   HCL, Symphony,


Hi,frnds. can any one tel me " is QUALITY CENTER & TEST DIRECTOR are same or different ? if different, pls tel me the difference.. its an question asked me in an interview.. pls tel me frnds

6 Answers   AZTEC,


What is the negative test cases for www.yahoo.com?

6 Answers   Mind Tree,


Categories