Test plans & verification
Halyard computes whether a requirement is verified from real test evidence — not from someone marking a task done.
Test plans and test cases
Section titled “Test plans and test cases”A PRD has at most one test plan behind it. A project can also hold any number of project-level test plans of its own, for cross-cutting concerns — security, performance, other non-functional requirements — that don’t sit under one feature’s PRD.
A test plan holds any number of test cases, and one case can verify several requirements (including requirements from a different PRD, through a project-level plan). Add a case from the PRD’s test plan panel, with:
- a title;
- a kind —
AutomatedorManual; - for an automated case, an automated reference — a test ID or path pattern matched against your CI results;
- for a manual case, steps (markdown) a person follows.
Recording results
Section titled “Recording results”Automated results come from your CI run, not from hand entry: Halyard matches a GitHub check-run’s name, or a JUnit report’s file/classname attributes, against the case’s automated reference, on the default branch. Connect this through a GitHub App connection or the JUnit upload endpoint for other CI systems.
Manual results are recorded by a person: open the case and choose Record result — Pass or Fail, plus an optional note. The result is stamped with your name and the time.
A manual result expires — by default after 90 days, or immediately once a pull request linked to the requirement’s issues merges after the result was recorded, whichever comes first. An expired result stops counting as the case’s latest; a CI-sourced result never expires on a timer, since the next CI run simply supersedes it. The 90-day window is a project setting (Settings → Health & testing) your admin can change.
What “verified” means
Section titled “What “verified” means”A requirement is verified only when it has at least one test case, and every one of its cases’ latest result passed. Zero test cases is a distinct state, Untested — Halyard never treats “nobody checked” the same as “it passed.”
Verification is computed, independently of:
- the requirement’s hand-set lifecycle (
Proposed,Accepted, orDropped) — has a human agreed to build it, or decided not to; - whether it’s implemented — derived from its linked issues all being done.
A requirement can be verified before it’s implemented (a test written and passed ahead of the code landing through the normal issue flow), or implemented while still untested. Neither implies the other.
Overrides
Section titled “Overrides”A project admin can override a requirement to verified without passing tests — but only with a reason, recorded and shown next to the override so nobody mistakes it for a computed result. The moment any new test result lands for the requirement, the override is automatically superseded and verification reverts to the computed value. An override can mask a missing result temporarily; it can’t outlive new evidence.
On the coverage matrix
Section titled “On the coverage matrix”The coverage matrix renders a requirement’s verification as one of four states: Not verified, Untested, Verified, or Failing — computed server-side, not walked from file presence client-side.