WarUI

Executable Expected-Behaviour Specs

GRID-A30-F19P1beyond-baselinePlanned

Each example's expected-behaviour panel is backed by executable assertions that run in CI, so the docs claims are always verified. If behaviour changes, either the docs or the code must be updated.

Planned. This page shows the specification from issue #210. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

An example's expected-behaviour panel with a checkmark next to each statement.

Expected behavior

With the behaviour broken, the matching statement turns to failed and shows the assertion diff.

Planned API surface

expectedBehavior.stepsexpectedBehavior.assertdocs-spec runner

Acceptance criteria

  • Every expected-behaviour statement maps to at least one assertion (pending)
  • The docs build fails on unverified statements (pending)
  • Assertions use the public tester API only (pending)