Test assertion
Appearance
This article, Test assertion, has recently been created via the Articles for creation process. Please check to see if the reviewer has accidentally left this template after accepting the draft and take appropriate action as necessary.
Reviewer tools: Inform author |
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 specified statements about the target. Usually the logic for each test assertion 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. et al (2012) "Test Assertions Guidelines Version 1.0." 23 March 2012. OASIS Committee Note 01.
External Links
- [1], W3C Editor's Draft 'Test Assertion Guide'
- [2], Unisoft's 'Glossary of Testing Terms' includes a definition of 'assertion' in the context of testing