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 |
what is version 1
my mail id is mudaseer123@gmail.com and password:qwertyiop but if i enter mail id in capital letters and password correctly should then what will happen?does it display login failed?
how mapp the defect id in quality center?
does regression testing start from 2nd build or 1st build?why?could u plz answer
If tester report a bug & developer is saying this is not a bug. What sud tester do in this situation??
Write the test cases for a dot (.)? Dot on a blank paper.
what is exception handling in winrunner?
What is difference between Manual testing and Pega/BPM testing?
Test Director is use only for bug tracking or another purpose.
what are the tests u did in entire project? when it did in the project? (means at the release build to end of project) plz explain clearly
What are the advantages of waterfall model?
severity and priority of bugs?