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

gurkencheck A linter for Gherkin feature files.

no-unnamed-features

Every Feature needs a name.

What it does#

The Feature name is the title of the file and the heading in your test report. Without one, a failure is hard to place.

Turning it on#

Add this to your .gurkencheckrc:

{
  "no-unnamed-features": "on"
}

Settings#

This rule has no settings. Switch it on with "no-unnamed-features": "on".

Examples#

Passes
Feature: Logging in

  Scenario: A known user logs in
    Given I am a known user
Fails
Feature:

  Scenario: A known user logs in
    Given I am a known user

gurkencheck reports: Missing Feature name