What are a test driver and a test stub, and why are they necessary?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The stub is the software component that needs to be tested. It is employed in a top-down manner.
The component being tested is called by the driver. It is utilized in a bottom-up strategy.
When only module X has been developed, and we need to test the interface between modules X and Y, it is necessary. Therefore, we cannot just test module X; however, if there is a dummy module, we can use it to test module X.