Module cucumber::event

source ·
Expand description

Key occurrences in a lifecycle of Cucumber execution.

The top-level enum here is Cucumber.

Each event enum contains variants indicating what stage of execution Runner is at, and variants with detailed content about the precise sub-event.

Structs

Arbitrary event, optionally paired with additional metadata.
Number of retry attempts for a Scenario.
Event specific to a particular retryable Scenario.

Enums

Top-level Cucumber run event.
Event specific to a particular Feature.
Event of running Before or After hook.
Type of a hook executed before or after all Scenario’s Steps.
Event specific to a particular Rule.
Event specific to a particular Scenario.
Event explaining why a Scenario has finished.
Event specific to a particular Step.
Error of executing a Step.

Type Definitions

Alias for a catch_unwind() error.
Shortcut for a detached metadata of an arbitrary Event.