Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

What is the purpose of a driver in unit testing?

in software engineering

1 Answer

Relevance
  • 1 decade ago
    Favorite Answer

    The driver is a piece of code that applies the test values to the inputs of the unit under test and then records the output(s). Since a unit test is testing a small piece of code in isolation, the normal source of inputs are not available.

Still have questions? Get your answers by asking now.