You are reading the documentation for gurkencheck 0.0.4. Go to the latest version.

gurkencheck A linter for Gherkin feature files.

one-space-between-tags

One space between tags on the same line.

What it does

Lining tags up with extra spaces looks tidy until someone renames one.

Turning it on

Add this to your .gurkencheckrc:

{
  "one-space-between-tags": "on"
}

Settings

This rule has no settings. Switch it on with "one-space-between-tags": "on".

Examples

Passes
@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: There is more than one space between the tags @smoke and @slow