--dry-run: checks that every step of the selected scenarios has a glue,
without running anything.
The glue is resolved at parse time (scenari.v2.core/pickle-step->map sets
:glue nil when nothing matches), so everything is already in the test-plan:
walking it is enough. Without this an undefined step only blows up when run,
on an (apply nil ...), after the previous steps and their side effects.
Non-zero exit when a glue is missing, with the skeleton to paste for each.
Like scenari-doc, list it after :kaocha.plugin/scenari-tags to check only
what would have run - the walk is scenari-doc's, both plugins read the same
filtered tree. It cannot be combined with --doc-html / --doc-report.
`--dry-run`: checks that every step of the selected scenarios has a glue, without running anything. The glue is resolved at parse time (`scenari.v2.core/pickle-step->map` sets `:glue nil` when nothing matches), so everything is already in the test-plan: walking it is enough. Without this an undefined step only blows up when run, on an `(apply nil ...)`, *after* the previous steps and their side effects. Non-zero exit when a glue is missing, with the skeleton to paste for each. Like `scenari-doc`, list it after `:kaocha.plugin/scenari-tags` to check only what would have run - the walk is scenari-doc's, both plugins read the same filtered tree. It cannot be combined with `--doc-html` / `--doc-report`.
(report missing)The missing steps grouped by scenario. The skeleton to paste is already
printed by find-glue-by-step-regex at parse time (:missing-step event) -
what that lacks is where the step is used.
The missing steps grouped by scenario. The skeleton to paste is already printed by `find-glue-by-step-regex` at parse time (`:missing-step` event) - what that lacks is *where* the step is used.
(undefined-steps test-plan)[feature scenario step] for every step without a glue, in tree order.
`[feature scenario step]` for every step without a glue, in tree order.
(unused-glues steps)The other way round: the step definitions none of steps uses. Indicative
only - a filter (--tags, --focus) shrinks the selection, so grows the list,
and all-glues also sees the glues of the loaded test namespaces.
The other way round: the step definitions none of `steps` uses. Indicative only - a filter (`--tags`, `--focus`) shrinks the selection, so grows the list, and `all-glues` also sees the glues of the loaded test namespaces.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |