What is stub/Driver


A stub or a driver can be defied as a program or a method that simulates The activity of a missing subsystem which is suppose to provide a specific Functionality depending on the design. The basic advantage of this is, if any modules is expecting or suppose to receive data from other module and that module is not ready, by writing the stubs/driver we can provide fake data to the module and can test its functionality.