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

At which stage testing phase will start

5 Answers   IBM,


Please give an example of Black Box Testing?

1 Answers  


7.Do you have working knowledge on any international quality systems?If yes name then?

1 Answers   VJIL Consulting,


How many bugs occured will be considerd appropriate over 1000 steps when inspecting software? Describle an approriate Bug value.

0 Answers   ISB,


what is the role of testlead in software testing

1 Answers  






differentiate re-testing and regression testing

7 Answers  


Explain compatibility testing with an example.

0 Answers  


When you will raise defect? before defect raising what you will do?

2 Answers   Cap Gemini,


what is the difference between Test strategy and test plan?

1 Answers   Crea,


Positive and Negative Testing - Which one to do first and why ?

6 Answers  


What is the scope of manual testing?Please let me know because I want my carrer as a tester.

0 Answers  


what is traceability matricks

7 Answers   Synergy,


Categories