
What is Stubs and Drivers. Why do we use them?
Stubs:- Stubs are simply a dummy modules, that are always recognize as "called program" or in simple, stubs are used in integration testing (top-down approach).
Stubs are generally used when sub programs are under construction.
Example:- Let us take an example of an application, where we have 3 modules ie. Login, Home and user modules. Now Login module is ready and need to go under test, so...