Did u come across STUBS and DRIVERS?How did u use these in
u r project ?

Answers were Sorted based on User's Feedback



Did u come across STUBS and DRIVERS?How did u use these in u r project ?..

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

Did u come across STUBS and DRIVERS?How did u use these in u r project ?..

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

Did u come across STUBS and DRIVERS?How did u use these in u r project ?..

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

Did u come across STUBS and DRIVERS?How did u use these in u r project ?..

Answer / sriharsha karanth

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

Did u come across STUBS and DRIVERS?How did u use these in u r project ?..

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

Did u come across STUBS and DRIVERS?How did u use these in u r project ?..

Answer / sekhar

hi jyothinapa thanq for giving answer
please explin abt hybrid approach also

Is This Answer Correct ?    0 Yes 0 No

Did u come across STUBS and DRIVERS?How did u use these in u r project ?..

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

Did u come across STUBS and DRIVERS?How did u use these in u r project ?..

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

Did u come across STUBS and DRIVERS?How did u use these in u r project ?..

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

Post New Answer

More Manual Testing Interview Questions

Q-1) You are running out of time but you have to test the software what will be your approach? Q-2) The largest cost of quality is from production failure.true or false Q-3)Defects are lest costly to correct at what stage of development cycle? Q-4) what is that tester complain usually?

4 Answers  


Meaning of Web Application. my doubt is www.yahoo.com .it is web application?

2 Answers  


What is the role of software tester in process of verification? Explain.

1 Answers   IBM,


what documents need to write test case

9 Answers  


How do you go about testing a project?

0 Answers  






Can u tell me about the difference between Window based Application and Web Application?

2 Answers  


what is Gui testing and how is it performed

2 Answers   HCL,


1. fault based testing is reversed of which testing? option.1 conventional software testing Option 2Operations and classes that are critical or suspect Option 3 Use-case validation Option 4White-box testing of operator algorithms 2. Testing OO class operations is made more difficult by Option 1 Encapsulation Option 2 Inheritance Option 3 Polymorphism Option 4 Both Inheritance and Polymorphism 3. Which of these techniques is not useful for partition testing at the class level Option 1 attribute-based partitioning Option 2 category-based partitioning Option 3 equivalence class partitioning Option 4 state-based partitioning 4.Client/server architectures cannot be properly tested because network load is highly variable. Option 1 true Option 2 false 5. Real-time applications add a new and potentially difficult element to the testing mix Option 1 performance Option 2 reliability Option 3 security Option 4 time 6.Which one is not key term used in internal control and security Option 1 Threat Option 2 Risk Control Option 3 Vulnerability Option 4 Exposure 7.Acceptance testing occurs only at the end point of the development process; it should be an ongoing activity that test both interim and final products. Option 1 true Option 2 false 8.Static testing requires...? Option 1 Binaries Option 2 Source code Option 3 Product Option 4 Executables 9.etesting is testing the application with multiple sets of data is called retesting Option 1 true Option 2 false

2 Answers   Infosys,


Who is Kent Beck, Dr Grace Hopper, Dennis Ritchie?

1 Answers  


Hey all,in a web applications,i am typing the URL in the browser and entering the Username & password.After clicking Login button,where the authentication will happen & how (i mean how is the process goes on...browser,web server,DB server level)...Pls answer...

4 Answers   iSoft,


what is the importance of test data while testing the application? and how hard it is to set up the test data?

2 Answers  


Hi everyone.This is one of my interview questions.Could you please send me the answer for this?My ID:spam4rekha@gmail.com Q : what is BVA and ECP ? Thank You rekha

4 Answers  


Categories