Multiple choice technology testing

Which of the following is a good reason for a developer to use a Test Harness tool?

  1. To help the developer to compare differences between files and databases.

  2. To reduce the quantity of component tests needed to be run.

  3. To make it easier for developers to peer-test each other’s code.

  4. To simplify running unit tests when related components are not available yet.

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

A Test Harness is a tool that provides stubs, drivers, or mock objects to simulate missing components, allowing unit tests to run in isolation when dependent components are unavailable. Options A, B, and C describe different tools (comparison tools, coverage analyzers, peer review systems) not specific to test harnesses.