Example Test Spec
E2E / acceptance test spec.
covers_acceptance_criterialists the PRD's composite AC ids (<STORY-ID>/AC-n); the E2E runner uses them to report dangling refs and uncovered criteria. Bare ids resolve within this initiative; useinitiative:IDfor cross-initiative coverage.
Scope
Verifies the example PRD's acceptance criteria.
Test Cases
TC-1 — Linter accepts the example (covers: EXMPL-S01/AC-1)
- Run the pinned linter against this repo.
- Expected: the example PRD passes frontmatter + PRD-section checks.
TC-2 — Structure is discoverable (covers: EXMPL-S01/AC-2)
- A new author opens the example initiative.
- Expected: the prds/rfcs/tests layout and required frontmatter are obvious.
TC-3 — Empty stories table fails (covers: EXMPL-S01/ERR-1)
- Remove all
AC-ntokens from a PRD's stories table. - Expected: the linter fails on the missing
AC-ntoken.
TC-4 — AC is traceable (covers: EXMPL-S02/AC-1)
- Run the E2E runner against this initiative.
- Expected: zero uncovered criteria for the example PRD.