Unused Definition
unused-definition
Section titled “unused-definition”No successfully parsed concrete feature step matches a definition. This rule is disabled when the feature corpus is absent or incomplete because the run cannot prove non-use. Remove the definition, add the missing scenario, or suppress it when external or generated features provide the usage.
Language support
Section titled “Language support”| JavaScript/TypeScript | Cucumber-Ruby |
|---|---|
| Feature-file usage. | Feature-file usage and literal step calls; dynamic step/steps calls disable the rule. |
Cucumber-Ruby support is experimental; see Cucumber-Ruby.
Back to the rule index.