升级到Cucumber-JVM 1.1.4时出现问题

时间:2013-12-02 03:48:04

标签: cucumber cucumber-jvm cucumber-junit

我一直在使用cucumber-java 1.1.1并转向1.1.4。 但是,当我从eclipse运行测试时,我收到以下错误。我不知道为什么。

请告诉我如何解决此问题。

com.xyz.test.abc.testngintgn.CucumberTestImpl.cucumber失败 java.lang.IllegalArgumentException:不是文件或目录:/ Users / me / git / qa_abcTestCases / cucumbertests / classpath:cucumber / runtime     在cucumber.runtime.io.FileResourceIterator $ FileIterator。(FileResourceIterator.java:54)     在cucumber.runtime.io.FileResourceIterator。(FileResourceIterator.java:20)     在cucumber.runtime.io.FileResourceIterable.iterator(FileResourceIterable.java:19)     在cucumber.runtime.io.ResourceLoaderReflections.getDescendants(ResourceLoaderReflections.java:30)     在cucumber.runtime.io.ResourceLoaderReflections.instantiateSubclasses(ResourceLoaderReflections.java:55)     在cucumber.runtime.Runtime.loadBackends(Runtime.java:78)     在cucumber.runtime.Runtime。(Runtime.java:52)     在com.paypal.test.abc.testngintgn.CucumberTestImpl.cucumber(CucumberTestImpl.java:71)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     在java.lang.reflect.Method.invoke(Method.java:597)     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)     在org.testng.internal.Invoker.invokeMethod(Invoker.java:714)     在org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)     at java.util.concurrent.ThreadPoolExecutor $ Worker.runTask(ThreadPoolExecutor.java:895)     at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:918)     在java.lang.Thread.run(Thread.java:680)

0 个答案:

没有答案