What is driver and stub? where it is used, in top down or
bottom up approach?
Answers were Sorted based on User's Feedback
Answer / varsha b
Driver and stub is used in integration testing.
Driver is used in bottom up approach of integration
testing.driver calls the function to be tested.
Stub is used in top down approach of integration
testing.stub is called by the function to be tested.It is a
piece of code which stimulates the activity of other module
in system.
E.g. System consist of modules A,B and C.
Development of module A and B is done.Now we cant afford to
wait till the time module C is ready.In this case we can
develop dummy of module c which will stimulate the activity
of module c in system and we can continue with our
integration testing.Here dummy of module C is stub.When we
will connect all three modules to ensure they function
properly then it is called as driver.
| Is This Answer Correct ? | 24 Yes | 3 No |
Answer / narendra
driver is a replacement of unfinished main component.
stub is a replacement of unfinished sub components.
driver is used in Botton-up approach.
stub is used in Top-down approach.
| Is This Answer Correct ? | 23 Yes | 4 No |
Answer / narendra
Driver is a simulation(sample) for calling program ,it is
used in Bottom-up Approach
Stub is a simulation for called program ,it is used in
Top-Bottom Approach
| Is This Answer Correct ? | 9 Yes | 2 No |
TTopdown & bottom up approch is included in Integration
testing..
Topdown approch: to test Main module to
submodule ..sometimes the main module is till not developed
the temparary module isdeveloped and tested this temparay
module name is called stub.Its acts like submodule
Bottom up apporch :
Bottom up approch:to test submodule to main module...
Some times submodule is still not developed the the
temporary module is developed i,e called driver .It act as
main module
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / ajk
while integrating different functionality or modules to
unfinished module, drivers and stubs are used. driver acts
as parent module when integrating to a child component so it
is bottom up approach and stub acts as a missing child
component when it is integrated to a parent module so is top
to bottom approach.
| Is This Answer Correct ? | 2 Yes | 1 No |
when will update and modify the test object properties in the repository?
In V model what are the documents the Testing got from developement team to create test case in Acceptane TC, Integrationm Tc, System Tc?
anyone can explain about Sanity testing and smoke testing and who will involved on sanity and smoke testing
what is the format of test case document? any one can send test case excel sheet format? my id :chinna.4494@yahoo.com
what is system testing? as test eng, what do u do in sys testing? who invoves in sys testing?
HOW DO U EXECUTE THE CASES WHEN THE TIME IS NOT SUFFICIENT TO EXECUTE ALL THE TEST CASES?
Write scenarios as on a paper cup (which we use to have tea) [Believe me, they can ask any type of question! :)]
5 Answers College School Exams Tests, IBM,
hi friends i have a question while the files are uploading into the web server(for storing)..... securely......... what is the meaning securely.......its regarding virus threating or user authentication.... the files are video files these are ripping and converted into .flv format pls clarify ..........thanks in advance......
What are the possible test cases/test scenario for Search functionality ?
hi.... plz tell me what all kinds of documents/reports are required for manual testing of a simple website(simple static pages). in a organization.
2 Answers HCL, IBM, iPRO Solutions,
Can anyone please suggest me a online book on manual testing??
What is the meaning of incident in testing?