Skip to content

no-duplicate-scenario-names ​

Disallow duplicate Scenario names within the same Feature or Rule.

CategoryRecommendedSafe autofixDefault options
correctnessyesnonone

Finds case-insensitive duplicate Scenario names within one Feature or one Rule. { scope: "anywhere" } compares across all linted files.

Configuration ​

json
{ "rules": { "no-duplicate-scenario-names": "error" } }

Triggered by ​

text
Rule: Coupon
  Scenario: apply
  Scenario: apply

Released under the MIT License.