Dependencies
Make sure the Cucumber version is the same for all Cucumber dependencies.
Cucumber-Scala is published in the central Maven repository. You can install it by adding dependencies to your project.
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-scala_2.13</artifactId>
<version>6.10.4</version>
<scope>test</scope>
</dependency>
You can now run Cucumber from the command line or run Cucumber with Maven.
libraryDependencies += "io.cucumber" %% "cucumber-scala" % "6.10.4" % Test
It is also possible to use cucumber-junit-platform-engine to run your Cucumber test suite.
It is also possible to use cucumber-junit to run your Cucumber test suite.
Cucumber does not come with an assertion library. Instead, use the assertion methods from a unit testing tool.
You can help us improve this documentation. Edit this page.