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
at cucumber.runtime.RuntimeOptionsFactory.addSnippets(RuntimeOptionsFactory.java:58)
at cucumber.runtime.RuntimeOptionsFactory.buildArgsFromOptions(RuntimeOptionsFactory.java:38)
at cucumber.runtime.RuntimeOptionsFactory.create(RuntimeOptionsFactory.java:22)
at cucumber.api.junit.Cucumber.<init>(Cucumber.java:84)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:49)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
The text was updated successfully, but these errors were encountered:
viveksr80
changed the title
Existing cucumber tests will not work after after adding Karate dependencies
Existing cucumber tests will not work after adding Karate dependencies
Jul 29, 2019
viveksr80
changed the title
Existing cucumber tests will not work after adding Karate dependencies
Existing cucumber tests will not work after adding Karate dependencies (0.9.4) bug
Jul 29, 2019
@viveksr80 yes this is expected: #444 (comment) - see if using the @KarateOptions instead of @CucumberOptions annotation solves this. else this is a won't fix unless we get community contributions.
@viveksr80 yes this is expected: #444 (comment) - see if using the @KarateOptions instead of @CucumberOptions annotation solves this. else this is a won't fix unless we get community contributions.
Problem:
After including Karate dependencies in existing cucumber project, not able to execute existing scripts, getting below error.
java.lang.NoSuchMethodError: cucumber.api.CucumberOptions.snippets()Lcucumber/api/SnippetType;
The text was updated successfully, but these errors were encountered: