Test harness

Test harness

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 monitoring 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. They can call functions with supplied parameters and print out and compare the results to the desired value. The test harness is a hook to the developed code, which can be tested using an automation framework.

A test harness should allow specific tests to run (this helps in optimising), orchestrate a runtime environment, and provide a capability to analyse results.

The typical objectives of a test harness are to:

* Automate the testing process.
* Execute test suites of test cases.
* Generate associated test reports.

A test harness typically provides the following benefits:

* Increased productivity due to automation of the testing process.
* Increased probability that regression testing will occur.
* Increased quality of software components and application.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • test harness — noun A software framework containing tests to verify the behaviour of other software components …   Wiktionary

  • Test-driven development — (TDD ) is a software development technique consisting of short iterations where new test cases covering the desired improvement or new functionality are written first, then the production code necessary to pass the tests is implemented, and… …   Wikipedia

  • Test Anything Protocol — The Test Anything Protocol (TAP) is a protocol to allow communication betwen unit tests and a test harness. It allows individual tests (TAP producers) to communicate test results to the testing harness in a language agnostic way. Originally… …   Wikipedia

  • Test suite — In software development, a test suite, less commonly known as a validation suite , is a collection of test cases that are intended to be used to test a software program to show that it has some specified set of behaviours. A test suite often… …   Wikipedia

  • Harness — A harness is a looped restraint or support.Harness may also refer to: *Harness (comics), a character in the Marvel Comics universe *Child harness *Climbing harness *Dog harness *Horse harness *Parrot harness *Safety harness *Test harness, in… …   Wikipedia

  • Forest Harness — Forest Arthur Harness (* 24. Juni 1895 in Kokomo, Indiana; † 29. Juli 1974 in Sarasota, Florida) war ein US amerikanischer Politiker. Zwischen 1939 und 1949 vertrat er den Bundesstaat Indiana im US Repräsentantenhaus …   Deutsch Wikipedia

  • Cable harness — [ car audio cables.] A cable harness, also known as a wire harness or wiring loom, is a string of cables and/or wires which transmit informational signals or operating currents (energy). The cables are bound together by clamps, cable ties,… …   Wikipedia

  • Marine Corps Test Unit — #1 Active 1 July 1954 19 June 1957 Country United States Allegiance Department of the Navy Branch United States Marine Corps The …   Wikipedia

  • Mauve (test suite) — Mauve Operating system Java virtual machine Type Test Suite License GNU General Public License Website http://www.s …   Wikipedia

  • Crash test dummy — For the band, see Crash Test Dummies. For the series of toys, see The Incredible Crash Dummies. 3 dimensional model of ATDs …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”