This is a collection of examples for Cucumber JVM using different test runners
and dependency injection frameworks. The projects are build with maven. You can run
each sample with mvn test.
For a minimal starter template repository see either:
Different examples showing how you can run Cucumber.
The calculator-java-cli demonstrates running Cucumber through the CLI using the maven-antrun-plugin.
The calculator-java-junit-4 demonstrates running Cucumber through JUnit 4.
The calculator-java-junit-jupiter demonstrates running Cucumber through JUnit JUpiter.
The calculator-java-testng demonstrates running Cucumber through TestNG.
Different examples showing how to use dependency injection.
The calculator-java-cli demonstrates running Cucumber with Java using annotation based step definitions.
The calculator-java8-junit-jupiter demonstrates running Cucumber with Java using lambda based step definitions.
The calculator-kotlin-junit-jupiter demonstrates running Cucumber with Kotlin using lambda based step definitions.
Different examples showing how to use dependency injection.
The spring-java-junit-jupiter demonstrates the use of cucumber-spring for Spring for dependency injection.
TODO: See cucumber-picocontainer.
TODO:
TODO: See cucumber-guice.