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_spec
Parse + plan one spec.
run_example
Run a single example by index. context_factory maps a step file to its fresh initial state.