Did u come across STUBS and DRIVERS?How did u use these in
u r project ?
Answers were Sorted based on User's Feedback
Answer / jyothinapa
Stubs and Driver comes under integration testing.
integration testing means integrating the modules and
perform testing on that.
integration testing can be performed in 3 approaches
1.Top-Down approach
2.Bottom-Up approach
3.Hybrid approach
Top-Down approach means integrating the main module with
the sub module.during this time if some of the sub modules
are not finished that is if they are in
underconstruction,to continue the integration testing we
will put one stub in the place of constructive sub module.
In bottom-up approach the integration is performed from
bottom to up.here sub modules are integrated with main
module.during this time if main program is not ready that
time we will put driver instaead of main program for
continuing integration testing once they are fully
constructed the main program we aill replace that driver
with the main program.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sailaja
these two are used in integration testing.
Stub; is used in Top down integration testing to simulate
the called module
Driver:is used in bottom up integration testing to simulate
the calling module
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / jyothi
At the time of integration development team finds one of
the sub module is yet to be released from unit testing then
they install a virtual environment is called 'stub'nd
continues integration testing based on main module in top
down manner
if main module is yet to be released from unit testing then
they continues integration testing in bottom up approach by
installing 'driver' in place of main module
| Is This Answer Correct ? | 3 Yes | 0 No |
i will give a gen example....suppose u have 3 modules...A B
C...A n B r 100% comp....and C is only 50% comp....u r under
pressure to comp in a time frame...what u do is u know to
build the mod C u need at least 15 days...so u build a dummy
mod C which wil take 1/2 days...This is STUB
now once all the mod A B and C(dummy) r ready..u integrate
them to see how it works..This is a DRIVER
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / dilip
Stubs and driver are dummy program written bt the
programmer when the real component are not reday for
testing.
Drivers are nothing but calling program and stubs are
called program.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sekhar
hi jyothinapa thanq for giving answer
please explin abt hybrid approach also
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / shiva
STUB
While creating the module in to a top-down approach,if at all any mandatory module is missing then replace that module with temporary program tahat is called stub.
DRIVER
While creating the module in to a bottom-up approach if at all any mandatory module is missing then replace that module with temporary program tahat is called driver.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / aditya
Stub : A piece of code that simulates the activity of
missing components.
Driver : A piece of code that passes test cases to another
piece of code.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / sunithayagnamurthy.heartcom in
Hi Manam,
This is sunithayagnamurthy.stub and driver both
are included in integration testing.Integrate testing means
to test sub modules and modules.this is called integration
testing
integration testing is divided two types
1.top down approch
2.bottom up approch
top down approch: top down approch means to test the main
module to submodule.some times the main module is till not
developed temparary module is created .this tempatrary
module name called stub.It is act as main module
bottom up approach:bottomup approach to test the sub mdule
to main module some times thesub module is till not
developed the temparary module is created.this temparary
module name is calles driver.It is act as submodule....
If any mistakes is thr please excuse.....
send correct answer
| Is This Answer Correct ? | 0 Yes | 5 No |
Can you please provide me the standard testcase review templete and Test plan templete.In my company we are not following any Standards templete so.Please guve me some Excell attachments.
Contents in Tracebility matrix?
14 Answers JVS, NIIT, TCS,
What is regression testing? When to apply it?
what is meant by application server and its functions?
1. What is Test data? 2. What is Test Development? 3. What is Boundary value & Equilance Partition? 4. What is Compatability testing? 5. How do you know Prepared Test cases are Responsable testcases or not? 6. Give me a Tracebility matrix documet & Deffination? 7. What is Error, Defect, Bug? 8. What is Smoke testing, Monkey testing, Sanity testing? 9. What is defference b/w Functionality testing & Regression testing? Give me a Example? 10. In your exp which type of defects you identify? 11. Tell me a defects for load testing,Security testing? 11. What is defference b/w System testing & User acceptance testing? 12. How many test cases write per a day& for one project how many testcases write you? 13. A professor has introduce some cources in college How to write test case for this requirement? 14. Write a test case for ATM Meachane? 15. Which configuration tool you used in .Net Application & Java based Applications? 16. What is the difference b/w Client server & Web based Application? 17. What is two tier & three tier application?Give me a example? 18. What is the defference b/w Java & J2ee? 19. Which model life cycles you used for Development & Testing? 20. Explain Development & Testing life cycles? 21. How to connect data table from QTP? 22. How QTP recognize Dynamic objects? 22. Which Atomation Frame work can you invoved in QTP& Explain me? 23. How QTP Tool Identify objects? 24 What is the difference b/w Check point & Out put value in QTP? 25. When did you give High Priority & High Seviority High Priority & Low Seviority High Seviority &High Priority High Seviority & Low Seviority?
can anyone write testcases for a wall clock?
Wht is the Difference between Test Harness and Test Driver Anybody can explain it..Thanks in advance...
What r the Macros?
is the volume testing, stress testing, load testing is same and not tell me the difference plz thanks
you are testing with daily builds,you installed the latest build today and what will you do if the application shortcut is not launching?
Equivalence testing divides the input domain into classes of data from which test cases can be derived to reduce the total number of test cases that must be developed. is it.explain equivalence testing
i have an android phone i want to share a photo to my friends phone via Bluetooth.can you tell me possible test cases for this?