no-dupe-feature-names
Makes sure no two features share a name.
What it does
Two features with the same name are hard to tell apart in a test report. The message names the other file so you can decide which one to rename.
Turning it on
Add this to your .gurkencheckrc:
{
"no-dupe-feature-names": "on"
}
Settings
This rule has no settings. Switch it on with "no-dupe-feature-names": "on".
Examples
Passes
# LoggingIn.feature
Feature: Logging in
# LoggingOut.feature
Feature: Logging out
Fails
# LoggingIn.feature
Feature: Logging in
# LoggingInAgain.feature
Feature: Logging in
gurkencheck reports: Feature name is already used in: LoggingIn.feature