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 |
Where we have to use perl scripting in Testing approach and its importance
what is the difference between v & W model? please explain in detail
types of reviews?Advantages of reviews? Diff between process and procedure? diff b/w verification and validation? diff b/w cmm,cmmi? exp tqm,gqm,iso,ieee? Roles and responsibilities of tester? Ricks,types of ricks? what r Quality factors?
write four steps for writting scenario ?
What is concurrency testing?
What if the client finds a defect after delivering the product? How will you react and justify?
2 Answers HeadStrong, IBM, Somany Ceramics,
How do u make sure the test cases are not repeated?
Explain Automation Vs Manual Testing?
if u find a bug and reported to devoloper, but he is not agree with ur openion what u will do,how u convince to them
what are the bugs we canot find in the black box testing?
7. Would you return to this Web site on your own in the future? Why/why not?
What is the difference between SRS and FS?