我遇到了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 乌云,请帮助我,我已经尝试了很多东西...