package page→ /quality/contours/tests.md
pages/quality/contours/tests.md
26 lines, 1.4 KB. As a page.
- ---
- type: Contour
- title: "Quality tests contour"
- icon: "🧪"
- collection: /quality/tests
- stageField: status
- entry: /quality/contours/tests/planned
- phases:
- - /quality/contours/tests/planned
- - /quality/contours/tests/pending
- - /quality/contours/tests/active
- - /quality/contours/tests/retired
- ---
- 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](/quality/tests.md) through the "State" field.
- | From | To | Condition |
- |---|---|---|
- | [Planned](/quality/contours/tests/planned.md) | [Awaits the product](/quality/contours/tests/pending.md) | the test is written; it is red because the product cannot do it yet |
- | [Planned](/quality/contours/tests/planned.md) | [Active](/quality/contours/tests/active.md) | the test is written and green |
- | [Awaits the product](/quality/contours/tests/pending.md) | [Active](/quality/contours/tests/active.md) | the product has learned it, the test is green |
- | any | [Retired](/quality/contours/tests/retired.md) | 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.