Skip to main content

register_step

Function register_step 

Source
pub fn register_step(function: &str, definition: StepDefinition)
Expand description

Bind a @step function name to its declared metadata. Idempotent: a second call replaces the prior definition (matches re-evaluation semantics of harn run and the conformance harness).