You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use the rerun formatter so that I can see failed tests on the command line (I believe this is what it does - if not, how do I see a list of failed test names/lines on the command line output as I did with cuke4duke?) However, when I try to use it I get the following error:
[java] Exception in thread "main" cucumber.runtime.CucumberException: Couldn't load formatter class: rerun
[java] at cucumber.runtime.formatter.FormatterFactory.loadClass(FormatterFactory.java:145)
[java] at cucumber.runtime.formatter.FormatterFactory.formatterClass(FormatterFactory.java:136)
[java] at cucumber.runtime.formatter.FormatterFactory.create(FormatterFactory.java:63)
[java] at cucumber.runtime.RuntimeOptions.parse(RuntimeOptions.java:90)
[java] at cucumber.runtime.RuntimeOptions.<init>(RuntimeOptions.java:44)
[java] at cucumber.api.cli.Main.run(Main.java:16)
[java] at cucumber.api.cli.Main.main(Main.java:12)
[java] Caused by: java.lang.ClassNotFoundException: rerun
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[java] at cucumber.runtime.formatter.FormatterFactory.loadClass(FormatterFactory.java:143)
[java] ... 6 more
I'm using ant like follows (irrelevant lines removed):
I would like to use the rerun formatter so that I can see failed tests on the command line (I believe this is what it does - if not, how do I see a list of failed test names/lines on the command line output as I did with cuke4duke?) However, when I try to use it I get the following error:
I'm using ant like follows (irrelevant lines removed):
I have the 1.1.3 jars of cucumber-core, cucumber-java and cucumber-junit on my classpath.
The text was updated successfully, but these errors were encountered: