encyclopegia.org

Test assertion

In computer software testing, a test assertion is an expression which encapsulates some testable logic specified about a target under test. The expression is formally presented as an assertion, along with some form of identifier, to help testers and engineers ensure that tests of the target relate properly and clearly to the corresponding specified statements about the target. Usually the logic for each test assertion is limited to one single aspect specified. A test assertion may include prerequisites which must be true for the test assertion to be valid.

In computer software testing, a test assertion is an expression which encapsulates some testable logic specified about a target under test. The expression is formally presented as an assertion, along with some form of identifier, to help testers and engineers ensure that tests of the target relate properly and clearly to the corresponding specified statements about the target. Usually the logic for each test assertion is limited to one single aspect specified. A test assertion may include prerequisites which must be true for the test assertion to be valid. ==References== Green, Stephen D. (Editor) et al. (2012) "Test Assertions Guidelines Committee Note 1.0" OASIS-open.org Durand, Jacques et al. (2009) "Test Assertions on steroids for XML artifacts." In Proceedings of Balisage: The Markup Conference 2009. Balisage Series on Markup Technologies, vol. 3 (2009) ==External links== W3C 'Test Assertion Guide' (Editor's Draft) [http://www.unisoft.com/test_assertions.html, Unisoft's 'Glossary of Testing Terms' includes a definition for 'test assertion' [http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=tag], OASIS-open.org has a technical committee producing open, royalty-free specifications for a test assertions model and markup language

References

No reference rows published for this article.

Cite this article

MLA

"Test assertion." encyclopegia.org, 2022, https://encyclopegia.org/wiki/test-assertion. Accessed 24 November 2026.

Chicago

"Test assertion." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/test-assertion.

APA

encyclopegia.org. (2022). Test assertion. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/test-assertion

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

Related articles

Ashtë

enwiki · references available

The First Line (album)

enwiki · references available

Robert and Bertram (1928 film)

enwiki · references available

Methade

enwiki · references available

Barbullush

enwiki · references available

Xiaohe, Henan

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

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

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