Driver and Stub in Integration Testing

Unit Testing, Integration Testing, System Testing and Acceptance Testing.
Post Reply
Vijay Kumar Varma
Posts: 58
Joined: Mon Nov 26, 2018 1:51 am

Driver and Stub in Integration Testing

Post by Vijay Kumar Varma » Sat Dec 08, 2018 6:22 am

What are driver and stub in Integration Testing?

Sridhar G
Posts: 53
Joined: Fri Nov 30, 2018 3:19 am

Re: Driver and Stub in Integration Testing

Post by Sridhar G » Thu Dec 13, 2018 7:15 am

Stubs and Drivers are two types of test harness,

Stubs and drivers both are dummy modules and are only created for test purposes,

Stubs are used in top down testing approach, when you have the major module ready to test, but the sub modules are still not ready yet.

Drivers are used in bottom up testing approach. Drivers are dummy code, which is used when the sub modules are ready but the main module is still not ready.

Post Reply

Return to “Software Test Levels”