Test harness

From Wikipedia, the free encyclopedia

In software testing, a test harness or automated test framework is a collection of software and test data configured to test a program unit by running it under varying conditions and monitor its behavior and outputs. It has two main parts: the test execution engine and the test script repository.

Test harnesses allow for the automation of tests. It can call functions with supplied parameters and print out and compare the results to the desired value. Test harness is a hook to the developed code which can be tested using automation framework. To give testers hook for automating the test suites.