Testing Terms

Test Harness

A test harness is a small program specially written to test a particular subroutine or module. It feeds known data to the module being tested, and displays the results. It often has a Graphic User Interface, so that you can make up test data and pump it into the module being tested, but it can also have test data hard coded or stored in external files.

Frequently, a test harness will create a log file (a simple text file), so that there is a permanent record of what has been tested and what the results were. More complex test harnesses will save that data in a database for later analysis.

If you got to this page via a Search Engine, click here to go to the start.
Send mail to Doug Anderson with questions or comments about this Web site.
Copyright © 1998-2007 Doug Anderson
Last modified: 20 Nov 2007