Java Cucumber Tutorial 01 (Setting Up Cucumber) | QAShahin

QAShahin · 203K views · 2014 · 22:57

Open on YouTube

Testing, debugging & developer toolsSoftware practice, open source & careerstutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when they followed this setup walkthrough and hit errors like missing classes or outdated Cucumber options, since its JAR versions are now old.

Recommended by 1 people across 1 different months, 2015 to 2017.

What it is

A 2014 video tutorial by QAShahin on setting up Cucumber for Java with JUnit and Selenium WebDriver in a Windows environment, using Eclipse and manually downloaded JAR files. It walks through the required libraries and the Cucumber Eclipse plugin.

What people said

Recommends msi · 2017-06 · Stack Overflow · on “Unable to run cucumber feature feature”

Hi I also had this issue as well, and I did the following to resolve it, thanks to the comments of Anusha from video [this video] -the main trick is to firstly change the jar files you have as follows cucumber-core-1.2.5.jar cucumber-java-1.2.5.jar cucumber-junit-1.2.5.jar or any of the above, from 1.2.4 upwards - also update the following selenium-server-standalone-2.42.0.jar and upwards - also change the format keyword to plugin Once you make the above changes, this should resolve your problem.

Cites WebDriver · 2015-09 · Stack Overflow · on “NoClassDefFoundError while setting up cucumber tests”

I am getting the following error with my cucumber setup. I was following a youtube video ( [this video] ) for this setup but I downloaded all the latest jars. Not sure what went wrong but now I can't figure out what needs to be done. Can anyone help me, please? Exception in thread "main" java.lang.NoClassDefFoundError: gherkin/formatter/Formatter at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLo

Cites Ash · 2016-02 · Stack Overflow · on “Cucumber feature file does not identify the steps”

Thanks @Thomas Sundberg I do not use Maven, I jsut build that using empty project. followed instaruction at [this video] I haven't got a feedback from the youtube poster Thanks for your time.

Cites Peter · 2016-08 · Stack Overflow · on “no proposals have been found to fix the unresolvable reference to 'cucumber.options'”

Hi I'm recieiving this error message no proposals have been found to fix the unresolvable reference to 'cucumber.options' I've got all of the neccesary jars and referenced them in the project. package Cucumber; import org.junit.runner.RunWith; import cucumber.api.junit.Cucumber; @RunWith(Cucumber.class) @Cucumber.Options( format = {"pretty", "json:target/"}, features = {"src/cucumber/"} ) public class CucumberRunner { } I'm a bit stumped, im also following this tutorial. [this video] I'm a bit stumped on how to resolve it as far as I can see I've word for word followed it up to this point. Any ideas?