Multiple choice technology testing

To test a function, the programmer has to write a ___ which call the function and passes it test data.

  1. Stub

  2. Driver

  3. Proxy

  4. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A driver is a temporary software component or test harness used in bottom-up integration testing to call a lower-level function and pass it test data. A stub, conversely, simulates a lower-level component called by the unit under test.