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.8.1</version> <scope>test</scope> </dependency>
libraryDependencies += "io.cucumber" %% "cucumber-scala" % "6.8.1" % Test
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.