Top "Cucumber-jvm" questions

Cucumber-JVM is a Cucumber implementation for the most popular JVM languages.

Execute Cucumber step before/after a specific feature

I want to specify certain setup and tear down steps for each specific feature file. I've seen hooks that allows …

java cucumber cucumber-jvm
How to pass variables between cucumber-jvm steps

To pass variables between steps I have the step methods belong to the same class, and use fields of the …

java cucumber cucumber-jvm
How do I set the path to my Cucumber features using cucumber-junit?

I try to build my first executable specifications with Java and Maven. I created a simple project with this structure: …

java cucumber cucumber-jvm cucumber-junit
Cucumber scenario outline and examples with generic step definitions

I have a Feature file which is as below: Scenario Outline: Create ABC Given I open the application When I …

cucumber cucumber-jvm
How to execute cucumber feature file parallel

I have below feature files (Separate feature files) in src/test/resources/feature/ and I would like to run them …

java cucumber testng cucumber-jvm
Cucumber options annotation

The cucumber-jvm javadocs states that purpose of the glue element is to specify the location of the stepdefinitions and hooks. …

cucumber cucumber-jvm
How to run cucumber-jvm tests with maven

How do I run the cucumber tests that I have in the following locations with Maven. Source folders 'src/main/…

java maven selenium-webdriver cucumber-jvm cucumber-junit
Dcucumber.options, how to have multiple tags

I am trying run cucumber tests using maven with following command mvn test -Dcucumber.options="--tag @debug1" This command works …

maven cucumber-jvm
How to run single cucumber feature files through command prompt and through jenkins using Maven?

I am bit new to Cucumber / Maven, so require help on running test cases. I have developed an automation suite …

java selenium jenkins cucumber cucumber-jvm
Cucumber Exception: java.lang.ClassNotFoundException: cucumber.io.ResourceLoader

I am facing an error whenever I run the cucumber test by Junit. Here is the following Exception. Any help …

java junit cucumber cucumber-jvm cucumber-junit