Skip to main content

Module step

Module step 

Source
Expand description

Lowered, engine-agnostic step and batch types (TECH-SPEC §3).

A scenario lowers to an ordered list of LoweredSteps, segmented into StepBatches of contiguous same-engine steps (batched maximally — splits happen only at optional: boundaries and engine changes, ADR-0010). Engines return a BatchResult with one StepOutcome per executed step.

Structs§

BatchResult
Result of dispatching one StepBatch to an engine.
Guard
A when: skip guard: the step runs unless the resolved expression is empty or a literal false (TECH-SPEC §6).
LoweredStep
One step after macro expansion and ${…} lowering — engine-agnostic.
Retry
Finite retry policy for a step (retry: — infinite retries are rejected at pack load by the finite-retry lint, ADR-0007).
StepBatch
A contiguous run of same-engine steps, dispatched as one unit (ADR-0002).
StepKindId
Identifies the kind of a macro step (hurl, …). A step kind names the engine that claims it via crate::engine::StepKindSpec (ADR-0002).
StepOutcome
Per-step result reported by an engine.
StepRef
Anchor back to the authored .feature source (file, 1-based line, step text).

Enums§

Status
Outcome status of a step or scenario.
StepPayload
The engine-facing payload of a lowered step.