--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
cucumber --dry-run seems to be what I was looking for. Does it work with Cucumber-JVM, too? java -jar cucumber-core-1.1.5.jar --dry-run throws an exception:
>java -jar cucumber-core-1.1.5.jar --dry-runException in thread "main" java.lang.NoClassDefFoundError: gherkin/util/FixJavaat cucumber.runtime.RuntimeOptions.<clinit>(RuntimeOptions.java:29)at cucumber.api.cli.Main.run(Main.java:20)at cucumber.api.cli.Main.main(Main.java:16)Caused by: java.lang.ClassNotFoundException: gherkin.util.FixJavaat java.net.URLClassLoader$1.run(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)... 3 moreIs it possible to dry-run with cucumber-jvm?
--
Den tisdagen den 10:e juni 2014 kl. 09:40:42 UTC+2 skrev Christian Helmbold wrote:
cucumber --dry-run seems to be what I was looking for. Does it work with Cucumber-JVM, too? java -jar cucumber-core-1.1.5.jar --dry-run throws an exception:
Exception in thread "main" java.lang.NoClassDefFoundError: gherkin/util/FixJavaat cucumber.runtime.RuntimeOptions.<clinit>(RuntimeOptions.java:29)
I tried it with version 1.1.7 now, but with the same result. Or did you mean the current development version?
Den tisdagen den 10:e juni 2014 kl. 09:40:42 UTC+2 skrev Christian Helmbold wrote:
Please, answer inline, so we easily get the context of the reply, see http://cukes.info/posting-rules.html
Yes, but did you have the latest gherkin jar (gherkin-2.12.2.jar), on the classpath. As you can see in the pom.xml, it is one of cucumber-core:s dependencies.
If anyone is interested in doing the same, he or she can use the .pom https://gist.github.com/anonymous/983307e19c1a07cfd0aa and run mvn assembly:single.