Skip to content

required-tags ​

Require every Scenario to have a tag matching each configured regular expression.

CategoryRecommendedSafe autofixDefault options
tagsnono{"tags":[],"ignoreUntagged":true}

Requires every tagged Scenario to have a tag matching each regular expression in tags. ignoreUntagged: false also checks untagged Scenarios.

Configuration ​

json
{ "rules": { "required-tags": ["error", {"tags":[],"ignoreUntagged":true}] } }

Triggered by ​

text
Scenario without a @jira-123 tag

Released under the MIT License.