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. | 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. | 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: 20 August 2018