Multiple choice technology testing

To test a function, the Programmer have to write a _________ which calls the function and passes it test data

  1. stub

  2. driver

  3. proxy

  4. none

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

A driver is a test component that calls the function being tested with test data and verifies results. Stubs simulate called components (not the one under test). Drivers are used for unit testing of functions/methods.