Skip to main content
Version: 0.8.0

Tested first

Nothing is implemented before its cases exist, fail, and have been judged sufficient.

The path​

A feature is one planning item and one test description.

StepWhat happensThe planning item
descriptionthe cases are written: what each exercises, and what must be observedin progress
redthe tests are written, and failin progress
reviewthe maintainer judges whether the cases sufficein review
greenthe implementation; each case passesin progress, then in review
doneevery blocking case passes, and every failing case that does not block cites an open itemclosed, by the change that completes it

Done is observed, never declared: the records of the runs say it, and the item closes because they do.

A description never lands without its tests. Every case must have exactly one test, so the two reach the default branch together.

Two ways in​

WayHowWhen
one changedescription, tests and implementation in one proposed change, committed in order — red, then green. The change's first run is red on its new casesthe default: small features, defects, and always at the contract level
two changesthe red step lands alone, each new case labelled not blocking and citing the feature's item; the green step follows and removes the labelsan implementation that does not fit one change, or a fix deferred

With one change, the reviewer sees red in the change's own run history. With two, the default branch records the cases failing, then passing.

The review​

For each rule the description exercises, the reviewer reads the cases beside it and judges:

  • whether the cases are enough for the rule;
  • whether every Expected is something a run can observe;
  • whether every environment a case does not apply to is declared;
  • whether every not blocking label cites an open item;
  • whether a rule the feature touches has no case at all.

A defect​

A defect takes the same path. Its red case reproduces the defect; its green step is the fix — usually in one change. A fix deferred lands its reproducing case not blocking, citing the defect's item, and the label goes when the fix arrives.

Across repositories​

The parent item lives in yoke, with a child in each repository the work lands in. Each child is a feature with its own description and its own path; the parent is done when every child is.

A contract​

In yoke, always in one change: the conformance case lands with the definitions and the Core, and nothing at that level may be not blocking. An SDK implements a case that already exists in the suite, and raises the contract version it declares together with the implementation.

Closing an item​

The change that completes a feature closes its item. Before it closes, every failing not blocking case citing it is made to cite a new item instead — the deferral decided at the close, not found afterwards.