ποΈ Hello World
The smallest possible SpecBinder example. A single scenario with plain steps β no parameters, no rules, no configuration.
ποΈ Step Parameters
How quoted values in Gherkin steps become typed Java method parameters with automatic type inference.
ποΈ Step Reuse and Scenario State
How steps are reused across scenarios and how state flows from one step to the next. Each distinct step becomes one
ποΈ Rules
Gherkin Rule blocks group related scenarios under a business rule. They map to JUnit @Nested test classes.
ποΈ Background
Gherkin Background blocks set up shared state for every scenario in their scope. They map to JUnit @BeforeEach methods.
ποΈ Scenario Outline
Scenario Outline with an Examples table maps to JUnit's @ParameterizedTest + @CsvSource.
ποΈ Tags
Gherkin tags (@smoke, @regression, β¦) map to JUnit @Tag annotations for selective test execution.
ποΈ Convention Discovery
@Gherkin2JUnit with no path argument β the processor finds feature files by convention, looking in the same package as the marker class.