Questions tagged [cucumber-junit]

The JUnit integration provided by the Cucumber-Jvm project.

Cucumber-Jvm is the pure java rewrite of Cuke4Duke which just a port of Cucumber from Ruby to JRuby. Cucumber-JUnit provides integration with JUnit so that Gherkin tests can be run alongside other JUnit tests.

562 questions
-1
votes
4 answers

How to ignore failure/skipping statement in cucumber for next than statements

In cucumber suppose my one than statement is failed then my all than statement is skipped by cucumber for that scenario and it started executing next scenario ... Do anyone have any way to assist cucumber to run next step without skipping all other…
Shubham Jain
  • 16,610
  • 15
  • 78
  • 125
-1
votes
1 answer

Sharing object between cucumber scenarios

for workflow orchestra application where i say product is created and goes through continuous approval/workflow in which i would be creating product id which will be used across all the scenarios inside feature. The product id created in first…
Rajar R
  • 127
  • 1
  • 1
  • 10
-1
votes
1 answer

Posting JUnit reports to Slack

Is there any way we can post JUnit results **/TEST-*.xml to Slack. I have tried all possible ways but couldn't able to solve the issue.
user1642224
  • 61
  • 14
-1
votes
2 answers

running testrunner with cucumber

I am having problem running testrunner with cucumber. I need someone to help me check the @CucumberOptions. Thank you package stepDefinition; import org.junit.runner.RunWith; import cucumber.api.CucumberOptions; import…
Tessy
  • 71
  • 3
  • 11
-1
votes
1 answer

how to give a unique serial number to each scenario in a feature file using cucumber jvm and selenium webdriver

Since there are too many scenarios , when there is failure or error I find it difficult to jump to the scenario which has the problem. Is there a way to give a unique number to each scenario so that it is easy to map and can be used in logging too…
-2
votes
1 answer

Selenium - webdriver Test if-else loop stuck/error

I am trying to fill up a dynamic from which is automatically generated with user info. So I want to set if else condition for field of the from. So i use if else loop in step defenition but suppose if condition true its ok the code excute but if "if…
Mithu Khan
  • 57
  • 1
  • 6
-3
votes
1 answer

Which Java Version required for Junit 4.1

Working with Cucumber FrameWork, Need to know Which Java Version required for Junit 4.1 version
1 2 3
37
38