WHAT ARE STUBS AND DRIVERS USED FOR IN WHITE-BOX TESTING?

Chris Anderson

Total Post:197

Points:985
Posted by  Chris Anderson
 2225  View(s)
Ratings:
Rate this:
  1. Chris Anderson

    Post:197

    Points:985
    What are stubs and drivers used for in white-box testing?

    Stubs and Drivers are the small programs used in the integration testing such that these programs are placed where the output of undeveloped modules. that is in some cases, some of the non priority module's output is needed in the project. then to get out of that situation, we write a small program such that it generates exactly similar output of the un-generated module. these programs are called stubs and drivers.

    Here stub is used when we are testing the application in top-down approach.
    and driver is used when we are testing the application in bottom-top approach.


Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!