ποΈ Typed Data Tables
The default LISTOFOBJECT_PARAMS data-table mode β Gherkin data tables generate type-safe inner classes with typed accessors. No Cucumber dependency.
ποΈ DocStrings
Gherkin doc strings (triple-quoted blocks) become a trailing String parameter on the step method, with formatting preserved via Java text blocks.
ποΈ Sharing Steps via a Base Class
Place common step implementations in a base class that multiple markers extend. The generator detects step methods already present anywhere in a marker's class hierarchy and reuses them β it emits no abstract declaration (or stub) for a step a base class already implements.
ποΈ Type Refinement
Refine the generated data-table Param classes with enums (or any custom type) to turn data drift into a compile error.
ποΈ TDD Workflow
Iterative red-green development backed by failing tests generated from incomplete feature files.
ποΈ Glob Patterns
A glob pattern in @Gherkin2JUnit lets a single marker class drive many feature files β one generated test class per feature, all extending the same marker.
ποΈ Config Inheritance
Share generation options across many marker classes via @Gherkin2JUnitOptions on a base class. Override specific options per marker as needed.