Skip to content

Commit

Permalink
MDL-66109 behat: Prevent the use of Examples in Scenarios
Browse files Browse the repository at this point in the history
This change enables the Gherkin-lint rule to prevent the use of
"Examples" in a Scenario.

The Example tag is only allowed in a Scenario Outline at this time and
their use in a Scenario has no meaning.
  • Loading branch information
andrewnicols committed May 11, 2020
1 parent 7afd16a commit bbb291b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gherkin-lintrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
"no-unnamed-features": "on",
"no-unnamed-scenarios": "on",
"no-scenario-outlines-without-examples": "on",
"no-examples-in-scenarios": "on",
"new-line-at-eof": ["on", "yes"]
}

0 comments on commit bbb291b

Please sign in to comment.