Background
Background
is available with 3.3.0 version.
Example
It works like Scenario
and it’s available in Rule
and/or Feature.
Background
order
vitest-cucumber uses Vitest feature describe.each
to run Background
before Scenario
/ScenarioOutline
.
Example with a feature Scenario
:
Background
Scenario
Simple scenario
Example with a rule Scenario
:
Background
RuleBackground
Scenario
Simple rule scenario