what is stub?Explain in testing point of view?
Answers were Sorted based on User's Feedback
Answer / jessica
Stub is a part of Intgeration Testing
Intergration Testing
1>Top down-Use stubs to test the module
Stub is a dummy module replaced in order to test the main
module so that we are sure that the integration between
both the modules works fine
2>Bottom Up-- Use driver to test the module
the test data is sent to main module thru the drivers(also
called Test Harness)
Is This Answer Correct ? | 39 Yes | 3 No |
Answer / arif
A temporary implementation of part of a program for
debugging purposes.
Is This Answer Correct ? | 24 Yes | 5 No |
Answer / kayessor
stub is a dummy program or component, the code is not ready
for testing,its used for testing...
Is This Answer Correct ? | 14 Yes | 2 No |
Answer / veevee
Stub is nothing but programs when invoked by a other code
segments it simulates as designed module functions which is
yet to be constructed
Is This Answer Correct ? | 10 Yes | 1 No |
Answer / charan
Its temparory program,stubs have called programs.
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / sunitha.heartcom inc
stub is also include in Integration testing.
topdown & bottom up approch are included in Integration
testing
topdown testing means It test to top module to sub module
of the module .some times the developer has till not
developed to the main module that time the temparary module
is created that temparary module called "stub"
Bottom Up testing:It test to bottom to top means sub module
to main module some times the submodule is till not
developed that module is called driver
If any mistakes is thr please excuse
Is This Answer Correct ? | 8 Yes | 1 No |
Answer / mohana
Stub is a dummy program or component,it is used when the
code is not ready for testing.
It is only used for testing
Stub is used in Intgeration Testing ie Top down Integration
Testing
Top Down Testing:- It begins by testing the top level
module and progressively adds in lower level module one by
one. Some times the developer has till not developed the
main module, At that time the temparary module
is created that temparary module called "stub"
Stubs are not required in Bottoms up Integration Testing
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / raghu
A dummy module is created in order to integrate modules of
an application and can be tested for the convinience of the
testers.
This is done usually in TOP down approach.
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / raj pavan
STUB:-
While integrating the modules in TOP DOWN APPROACH if at all any mandatory module is missing then that module is replaced with a temporary program is know as STUB
DRIVER:-
While integrating the module in BOTTOM UP APPROACH if at all any mandatory module is missing then that module can be replace with a temporary program is know as DRIVER
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / jaya
In Large Projects Development and Testing has
to be done simultaneously, so we need not wait
for all modules. Stubs are used in one such integration
testing known as Top Down integration testing,in
which Top modules are ready the bottom are stimulated by
stubs, stubs are nothing but prototype of a function
without any code.
Is This Answer Correct ? | 0 Yes | 0 No |
How many flows of Events are there?
PLEASE ANSWER THIS Q? HOW TO DEFINE DEFECT DENCITY ?
what types of testing you perform ?
From what phase of project, testing will starts, what tester will do at starting stage?
What type of testing will be done in Installation testing or system testing?
IS this a right Product.? Is this Product right.? Which of the above statement stands for Verfication and validation.?
How will you test application without any SRS or any document and also the the developer who developed the application is resigned. In short no one knows the functionality of application.
difference between smoke testing and sanity testing?
Guys, can any one of u give the realtime example for Ad Hoc Testing
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 ?
Prepare a set of test cases you would use to test a 'Corded telephone?
What is Wound Fixing?