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 |
I have 2 years of exp. in testing and looking for a change if any body knows, about any vacancy in testing then plz contact me on deepti_ac@yahoo.co.in
Can u plz write/tell me 2 main Negative Test Cases for my Mobile Phone.
write negative testcases for notepad
WHAT IS TESTLOG?
What is the full form of cmmi?
What are the contents of a Test Plan?
what is the diffrence b/w verification and validation?
Is integration testing is a validation testing ?
what is Test deliverable and Release Note?
If I have prepared the test case document for version 2.0 and I got the new build say 2.1 then I have to add the test cases for version 2.1.My question is that How should I do that? because each test case has a unique id .
when to start and stop testing?
What is sdlc ? Explain ? Testing life cycle ?