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 |
What is Active and Passive testing ?
How will you Test a Website manually?? Tell me any 5 different ways to Test a Website.
what is exception handling in winrunner?
If any of ur friends come across any openings for Manula Testing - 1+ years Experiance Plz let me know... I can't upload my CV in any of the job sites...Bcoz in my current company HR vl trace out...So only.... Plz help..........u can contact me at rajalakshmi_ar_cse@yahoo.co.in
what is the difference between testcase and test scenario? Please give one example.
i finished writing test caes, logged bugs and also regression testing i finished.when we do user acceptance testing?
Hi,frnds. can any one tel me " is QUALITY CENTER & TEST DIRECTOR are same or different ? if different, pls tel me the difference.. its an question asked me in an interview.. pls tel me frnds
what are the various techniques you will use as soon as the srs was given to you to speedup the testing?
How will You select the regression testcase
Describe to me the Software Development Life Cycle as you would define it.
If the Time is cut shorted, how can you manage that?
Actually by using severity u should know which one u need to solve so what is the need of priority?