no-partially-commented-tag-lines
Catches a "#" part way along a line of tags.
What it does
A "#" comments out the rest of the line. On a tag line that quietly switches off every tag after it, which is easy to miss when reading the file.
Turning it on
Add this to your .gurkencheckrc:
{
"no-partially-commented-tag-lines": "on"
}
Settings
This rule has no settings. Switch it on with "no-partially-commented-tag-lines": "on".
Examples
Passes
# only run this in the nightly build
@smoke @slow
Feature: Logging in
Scenario: A known user logs in
Given I am a known user
Fails
@smoke # @slow
Feature: Logging in
Scenario: A known user logs in
Given I am a known user
gurkencheck reports: Partially commented tag lines not allowed