Is this
Why is this change important
The style guide says not to use negative contractions
Examples of new behaviour as a result of the change
For example:
Scenario: Someone has used a negative contraction on a page (e.g. can't, won't)
Given a page exists
And the page contains a word that includes "n't"
When the linter runs against the page with the "no negative contractions" rule
Then the linter report should contain x errors
And the error message should contain "do not use negative contractions"
Add as many scenarios as you can think of to define the full behaviour of the rule. You can see existing examples in features/style_guide/*.feature
Is this
Why is this change important
The style guide says not to use negative contractions
Examples of new behaviour as a result of the change
For example:
Scenario: Someone has used a negative contraction on a page (e.g. can't, won't)
Given a page exists
And the page contains a word that includes "n't"
When the linter runs against the page with the "no negative contractions" rule
Then the linter report should contain x errors
And the error message should contain "do not use negative contractions"
Add as many scenarios as you can think of to define the full behaviour of the rule. You can see existing examples in
features/style_guide/*.feature