来自build.gradle的黄瓜任务返回错误:“在file:src / test / resources / features /中找不到功能”

时间:2019-12-03 10:53:25

标签: build.gradle cucumber-java

我遇到了gradle任务“ cucmber”的错误

  

任务:黄瓜   2019年12月3日12:39:13 PMcumming.runtime.FeaturePathFeatureSupplier得到   警告:在文件src / test / resources / features /

中找不到功能

Please see the gradle build file and project structure

尝试通过RunCucumberTest类启动测试也是如此:

package steps;
import cucumber.api.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
import org.junit.runner.RunWith;

@RunWith(Cucumber.class)
@CucumberOptions(plugin = "pretty", features = "src/test/resources/features")
public class RunCucumberTest
{
}

我用过这篇文章-https://cucumber.io/docs/tools/java/#gradle 乌云,请帮助我,我已经尝试了很多东西...

0 个答案:

没有答案
相关问题