What is Stub and Driver ? What functions are used in stubs
and driver?

Answers were Sorted based on User's Feedback



What is Stub and Driver ? What functions are used in stubs and driver?..

Answer / castor_troy

The term stub and drivers comes in integration testing.

Say while top down integration testing we have 3 modules A,
B and C. say A and B are ready but C. But A and B calls
functions from C. In this case, to proceed with the testing
a dummy code is written to work as C. This function/code is
called a Stub.

Same way in Bottom up testing Say A, B are ready but C is
not. And C has to return value to A and B. For this a dummy
code is written to return a vale. This is called Driver.

Is This Answer Correct ?    26 Yes 2 No

What is Stub and Driver ? What functions are used in stubs and driver?..

Answer / salini

Stub:
A stub is a substitute for sub module in top-down
integration.
Driver:
A driver is asubstitute for main module in bottom-up
integration.

Is This Answer Correct ?    6 Yes 1 No

What is Stub and Driver ? What functions are used in stubs and driver?..

Answer / salini

A Stub is a substitute for sub module in Top-Down
Integration.

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More Manual Testing Interview Questions

Difference between SIT and UAT

2 Answers   RBS,


what is mean by mr ?

6 Answers   Intel,


is it necessary to write test cases in "tabular" form or will it be fine if written "point wise".

2 Answers   Zycus Infotech,


What do you like about computers?

0 Answers   HP,


WHAT IS TEST STRATEGY? WHAT IS THE DIFF BETWEEN TEST PLAN AND TEST STRATEGY? WHAT IS TEST METHODOLOGY

1 Answers   Wipro,






1.what is meant by functional and GUI testing?

5 Answers  


difference between sainty and smoke testing?

6 Answers   iSoft,


what is a broken link in web testing and how test it.

11 Answers   Accenture, Thomson,


Can you explain a pair-wise defect?

0 Answers  


what are the stages/statuses in the life cycle of a defect?

6 Answers   Accenture,


what is FAT and SAT tests .?

8 Answers  


What is rapid application development model (rad)?

0 Answers  


Categories