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 |
can u give me the sample bug report
I am murthy new commer for this site? Now iam serarching a job in Testing, I did not have any experience in real time projects. Any body can send me the sample Testcases,Srs,Matrix for Banking,ERP Projects etc., my mail id is shenbagamurthy_r@yahoo.co.in
For your testing you need 15 open accounts. A production data cut has been given to you. What will you do?
What different types of manual testing are there?
How can software qa processes be implemented without stifling productivity?
how test cases are written in test direcror directly or u fetch from xls
1.The effectiveness of a test suite in detecting errors can be determined by counting the total number of test cases present in the test suite. is it true
why it is know as alpha and beta testing(alpha & beta)?
Any one please tell the adhoc testcases for Gmail application?
What are all the things should be covered in the Unit Test cases ?
What is backward compatibility testing
if tester invloves in req or initial phase , what test eng will do in initial phase?