Top "Cucumber" questions

Cucumber is a Behavior Driven Development (BDD) tool that executes functional descriptions written in plain text (structured in the simple Gherkin language) as automated tests.

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 do block comments in Gherkin?

In gherkin syntax (used by Cucumber and SpecFlow, I can comment out a line by prefixing it with '#' …

syntax cucumber comments specflow gherkin
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
How to ignore particular scenario in cucumber?

I am using cucumber to feed scenario and java as a language. I need to ignore particular scenario, while running …

java automation cucumber
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
What are the differences between JBehave and Cucumber?

I have read somewhere that JBehave is actually the Java equivalent of Cucumber, whereas Cucumber is based on Ruby. Can …

cucumber bdd jbehave
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