encyclopegia.org

Test harness

In software testing, a test harness is a collection of stubs and drivers configured to assist with the testing of an application or component.[src] It acts as imitation infrastructure for test environments or containers where the full infrastructure is either not available or not desired.[src] Test harnesses allow for the automation of tests.[src] They can call functions with supplied parameters and print out and compare the results to the desired value.[src] The test harness provides a hook for the developed code, which can be tested using an automation framework.[src] A test harness is used to facilitate testing where all or some of an application's production infrastructure is unavailable, this may be due to licensing costs, security concerns meaning test environments are air gapped, resource limitations, or simply to increase the execution speed of tests by providing pre-defined test data and smaller software components instead of calculated data from full applications.[src] These individual objectives may be fulfilled by unit test framework tools, stubs or drivers.[src]

In software testing, a test harness is a collection of stubs and drivers configured to assist with the testing of an application or component.[src] It acts as imitation infrastructure for test environments or containers where the full infrastructure is either not available or not desired.[src] Test harnesses allow for the automation of tests.[src] They can call functions with supplied parameters and print out and compare the results to the desired value.[src] The test harness provides a hook for the developed code, which can be tested using an automation framework.[src] A test harness is used to facilitate testing where all or some of an application's production infrastructure is unavailable, this may be due to licensing costs, security concerns meaning test environments are air gapped, resource limitations, or simply to increase the execution speed of tests by providing pre-defined test data and smaller software components instead of calculated data from full applications.[src] These individual objectives may be fulfilled by unit test framework tools, stubs or drivers.[src] ==References== ==Further reading== Pekka Abrahamsson, Michele Marchesi, Frank Maurer, Agile Processes in Software Engineering and Extreme Programming, Springer, 1 January 2009[src]

15 sentences · 15 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Test harness." encyclopegia.org, 2026, https://encyclopegia.org/wiki/test-harness. Accessed 29 November 2026.

Chicago

"Test harness." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/test-harness.

APA

encyclopegia.org. (2026). Test harness. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/test-harness

Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1374677192 · 0.5 · snapshot enwiki-001374677192

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.