Tags
Ignore Rule / Scenario with Gherkin tags
describeFeature
allows optional options to ignore Scenario
, Scenario Outline
, Rule
according to a tag.
Here is an example to ignore the Rule by exluding the tag @another-tag
:
This will ignore Rule
and its Scenario
/ Scenario Outline
.
Nesting tags filtering
Since 3.10.0
vitest-cucumber allows to use nested tags with includeTags
, excludeTags
in describeFeature
or configuration.
Example:
It will exclude Rule
, Scenario
etc with (@alpha
and @beta
) tags or @vitests
or @another
tag.