A test case is a document or script that is used to validate that a product, service, process or system meets requirements.
TypesTest cases are created from both functional and non-functional requirements. Any formal test can be documented with a test.
CompositionTest cases typically include the steps required to execute a test and a list of preconditions, postconditions and success criteria. Tests also include a variety of meta information such as an identifier that can be used to trace them to requirements.
Positive vs NegationThere are often at least two test cases for each requirement and sub-requirement including a positive and a negative test. A positive test confirms that a requirement works as stated. A negative test confirms that the system acts as required given invalid preconditions, user input or scenarios.
AutomationIt is common to automate testing using test cases represented as a script. This is particularly efficient for tests that must be run many times such as regression tests. In some cases, a test requires human judgment and can't be fully automated.
This is the complete list of articles we have written about testing.
If you enjoyed this page, please consider bookmarking Simplicable.
The types of testing that are used to validate that a product, service, process or system meets requirements.
An overview of non-function testing.
An overview of low quality with examples.
The difference between a bug and a defect.
An overview of build quality with examples.
Simplicable is a modern encyclopedia that has been updated daily since 2010.
A list of interesting business theories.
A definition of knowledge work with examples.
A list of social processes, absurdities and strategies related to office politics.
A guide to product development.
The differences between types of knowledge.
An overview of the trough of sorrow.
A list of common business models.
A list of key marketing strategies.
A few sources of competitive advantage for businesses.
TrendingThe most popular articles on Simplicable in the past day.
Recent posts or updates on Simplicable.
© 2010-2023 Simplicable. All Rights Reserved. Reproduction of materials found on this site, in any form, without explicit permission is prohibited.
View credits & copyrights or citation information for this page.