Skip to main content

Example Test Spec

E2E / acceptance test spec. covers_acceptance_criteria lists 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; use initiative:ID for cross-initiative coverage.

Scope

Verifies the example PRD's acceptance criteria.

Test Cases

TC-1 — Linter accepts the example (covers: EXMPL-S01/AC-1)

  1. Run the pinned linter against this repo.
  2. Expected: the example PRD passes frontmatter + PRD-section checks.

TC-2 — Structure is discoverable (covers: EXMPL-S01/AC-2)

  1. A new author opens the example initiative.
  2. Expected: the prds/rfcs/tests layout and required frontmatter are obvious.

TC-3 — Empty stories table fails (covers: EXMPL-S01/ERR-1)

  1. Remove all AC-n tokens from a PRD's stories table.
  2. Expected: the linter fails on the missing AC-n token.

TC-4 — AC is traceable (covers: EXMPL-S02/AC-1)

  1. Run the E2E runner against this initiative.
  2. Expected: zero uncovered criteria for the example PRD.