Guide

Test cases and traceability

Test cases prove acceptance criteria. Their results, reported by CI, coding agents or people, decide whether the criteria are met; Traceability follows every requirement to its criteria, tests, work and code.

For: Tester, Team developer, Project lead

How results drive criteria

  • A test case verifies one or more acceptance criteria; only active tests count.
  • Any failing active test makes its criteria Not met; when all active tests of a criterion have passed, it becomes Met.
  • Blocked or not-run tests leave the criterion as it is. People can still verify a criterion by hand.
  • A story or task cannot be moved to Done while a test of a criterion it covers is failing.

Where results come from

SourceHow
CIPOST /api/test-results with a service token (Agents → Agent tokens) that has the propose permission. Tests are named by code or automation reference. Report skipped tests too, and send complete: true for the whole suite: a test that passed and is now skipped or missing raises DRF-06.
Coding agentpropose_test_case registers the tests it writes; report_test_result reports runs.
PeopleThe Passed / Failed / Blocked buttons on the test case page, for manual and UAT tests.

Traceability gaps

No test: a criterion nothing proves. No work: a criterion no story or task covers. No code: covering work without a pull request or commit. Failing: a test of the criterion fails.