What is driver and stub? where it is used, in top down or
bottom up approach?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Difference between Network testing and Web Testing?

1730


Write notes on apparel testing equipments.

776


how can we do database testing. In database testing we verify the data integrity and data validation. how can we do testing of Index, triggers, views, ransactions,cursors etc

1481


What is test driver and test stub?

704


What are noise variables?

1973






Being an Manual tester, what will be the role or activity in test plan ?

1608


what are the possible test cases for online jobs search portal..if its a job seeker module and any 1 if u had worked on this proj pls share the bugs with sev and priority pls frends i need replies for these queries ..thanks in advance

7141


What types of software testing are available?

706


Hi All I want discuss abt Testing tools is any one available online in google chat?

1600


When the GUI Testing will be held on the V model ?

1729


Tell me the advantage and disadvantage of cookies?

798


can you tell me how to write test cases for payments, receipts, inward clearing, outward clearing, A/c statements ?

1653


I have 6 months experience as project tarine and one and a half year experience as software engineer.Should i write taht my total experience id 2 years.

1504


Hi Dear this urgent for me i have need of ROLTA India Ltd Mumbai Paper pattern for Testing Person , PLease Help me , if any body have any idea about it

3532


what s test block ratio? please any one answer me..

1827