Executable Expected-Behaviour Specs
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 runnerAcceptance 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)