What is the Difference between Stub Testing and Driver
Testing?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
How do we decide that testcases covers all the requirements?
What is build interval period?
Hai, Can anybody tell me what is test scenarios and how to write test scenarios, pls give me one example.
Scenario A year ago we developed a standards compliant website for a client. Their site is very popular resulting in the client wanting to be able to track how it is being used by their users. The first part of this project is to create a Login function so that users can be identified on the website. The data supplied by users would have to be handled securely. You have been allocated this project to work on. You will be responsible for the task from start to finish and will be expected to give feedback to your manager. User expectations  The client wants their users to be able to login using a page that fits in with the website design.  Tom wants to access the website but doesn’t want his login information to be available to anyone else.  Paul doesn’t want to login to the website because he’s not a frequent user. Task Please provide some feedback on how you would do the following:-  Being the only Test Engineer on this task, what would your approach be for this requirement?  Identify the key areas for testing this page.  What tools if any, would you use to perform the testing, bearing in mind that the testing will be done without using an ‘automated test tool’.  Provide a sample test case that could be used for testing this page, for example as a word or Excel document.
Write test cases for checking date field?
what is web application testing and what is the difference between a client server application and web server application?
fields present in bugs and fields present in testcases? pl pl pl give me an answer thanks in advance but pl.
For a tester which certification courses is best?
At first time when you receive the application at that time which testing you do?
plz explain about commonly used terms while writing testcases.Like to check,validate,on click etc.
Have you worked in UDAP (Credit Card act 2009) project?What did you test in Billing & Payment modules?
What do u do if the bug that u found is not accepted by the developer and hez saying its not reproducable.Note:The developer is in the onsite location