contour/quality/contours/tests.md
Quality tests contour
A test is planned, written and awaits the product, then becomes active. A test that is no longer needed is retired. The contour drives the collection Quality tests through the "State" field.
| From | To | Condition |
|---|---|---|
| Planned | Awaits the product | the test is written; it is red because the product cannot do it yet |
| Planned | Active | the test is written and green |
| Awaits the product | Active | the product has learned it, the test is green |
| any | Retired | the test is no longer needed; the reason is written in the body |
A test in "Awaits the product" is red for a reason: the first line of the failure says "not done", not "the test is broken". A green test in "Awaits the product" is a reason to move it to "Active".
An active test is not moved back to "Awaits the product" and is not softened so that it passes: that is how a regression gets hidden.
The package Testing puts this page at
/quality/contours/tests.md.Source text