JetBrains Rider 2018.2 Help

Code Inspections in Cucumber

Inspection

Description

Default Severity

Undefined step

Highlights steps in Cucumber (or some other Gherkin) .feature files which do not have a matching step definitions.
Use a quick-fix to automatically create a new step definition.

Warning

Missing ':' after examples keyword

Highlights examples sections in Cucumber .feature files which do not have ':' after the Examples keyword.

Error

Missing examples section

Highlights scenario outlines in Cucumber .feature files which do not have 'Examples' section.
Use a quick-fix to automatically create the Examples section with a pre-filled table header.

Error

Unused or missing columns in Cucumber tables

Highlights tables in Examples sections of Cucumber .feature files with unused or missing columns.

Warning

Gherkin table is broken

Highlights tables if it contains at least one row with amount of cell different from amount of cell of table's header.

Error

Misplaced background section

Background section must be before any Scenario

Error

Last modified: 28 November 2018