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 |
How do you test cookies?
Hi freinds..im priyan 4rm banglore. i recently got an job on 2+(manual testing) by faq experience.in 2 days im going 2 join in company. now, can u any tel me pls how s there n company & environment. and what work did they give for me in starting & vat work shal i do there..? pls give me reply & help me soon. pls dont mind.
Write 5 best test cases for : Login screen Login ( Min 5 to max 15 ) Password ( Min 5 to max 15) alphanumeric characters ans case senstive
37 Answers Birst India Private Limited, Enzigma, Mastersys, Miiaan, Mind Tree, Qtech Software, Techior Solutions, Trochil Technologies,
what is the difference between test case and test scenario
What is the Myers Boundary Table?
What type of SQL queries will be asked in the Testing interview?
What is Statement Testing
How we validate and creating frameworks?
pliz anyone explain what is the DEFAULT BUG & also give me some example.Thanks in advance..
Usually customers won’t give all the requirements. How will you manage & collect all the necessary information?
what are the minimum requirements to start testing ?
Explain compatibility testing with an example.