ShtukbaseStandard
package page→ /quality/contours/tests.md

pages/quality/contours/tests.md

26 lines, 1.4 KB. As a page.

  1. ---
  2. type: Contour
  3. title: "Quality tests contour"
  4. icon: "🧪"
  5. collection: /quality/tests
  6. stageField: status
  7. entry: /quality/contours/tests/planned
  8. phases:
  9. - /quality/contours/tests/planned
  10. - /quality/contours/tests/pending
  11. - /quality/contours/tests/active
  12. - /quality/contours/tests/retired
  13. ---
  14. 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.
  15. | From | To | Condition |
  16. |---|---|---|
  17. | [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 |
  18. | [Planned](/quality/contours/tests/planned.md) | [Active](/quality/contours/tests/active.md) | the test is written and green |
  19. | [Awaits the product](/quality/contours/tests/pending.md) | [Active](/quality/contours/tests/active.md) | the product has learned it, the test is green |
  20. | any | [Retired](/quality/contours/tests/retired.md) | the test is no longer needed; the reason is written in the body |
  21. 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".
  22. 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.