Stubs and Drivers
What is the use of Stubs and Drivers in real application?Thanx in advance
Re: Stubs and Drivers
Stubs replace the components which need to be called for integration testing. We use them to simulate the called components, that have not yet been developed. They should be as simple as possible.
Drivers for example should be used when components are developed, but a module, which calls or makes a communication between the components is missing. The driver in this case should receive the data from components, and send the data required by some other components.