Monday, July 26, 2010

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.

No comments: