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. | |
Missing ':' after examples keyword | Highlights examples sections in Cucumber .feature files which do not have ':' after the Examples keyword. | |
Missing examples section | Highlights scenario outlines in Cucumber .feature files which do not have 'Examples' section. | |
Unused or missing columns in Cucumber tables | Highlights tables in Examples sections of Cucumber .feature files with unused or missing columns. | |
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. | |
Misplaced background section | Background section must be before any Scenario |