欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

cucumber 选项(命令行)不再适用于较新版本的 cucumber (io.cucumber)?

最编程 2024-04-08 15:33:25
...
package runners; import io.cucumber.junit.CucumberOptions; import io.cucumber.junit.Cucumber; import io.cucumber.testng.AbstractTestNGCucumberTests; import org.junit.runner.RunWith; @RunWith(Cucumber.class) @CucumberOptions(features = { "classpath:features" }, glue = { "stepDefinitions"}, monochrome = true, tags = {"@login"}, dryRun = false, plugin = { "pretty", "html:target/cucumber", "json:target/cucumber.json"}) public class MainRunner extends AbstractTestNGCucumberTests { }