Skip to main content

Module run

Module run 

Source
Expand description

Planning and running examples, plus the adapter display-name rule.

Functions§

example_names
The per-example display names: the innermost heading (or the body-derived name when there is no heading), de-duplicated with a [n] suffix — the rule the pytest/unittest adapters use, so header-bound rows share their binding sentence’s name.
plan_oath
Plans one oath. workspace carries every other oath in the project plus the sections a reference block consumes (ADR 0016); it is required because an adapter that omitted it would run consumed sections as standalone examples, which is green and wrong.
run_example
Run a single example by index. context_factory maps a step file to its fresh initial state.