如何解决如何重新运行失败的 Cucumber-JUnit-Platform 场景?
我一直在寻找一种仅运行失败的 Cucumber 场景的方法。但是,我找不到使用 Cucumber-JUnit-Platform 做到这一点的方法。我知道 @CucumberOptions
有一种方法,但这不是我可以与 JUnit-Platform 一起使用的方法。如果您能帮助我使用 JUnit-Platform 仅重新运行失败的场景,我将不胜感激。先谢谢大家。
我的跑步课程包括:
@Cucumber
public class BaseCucumberTests {
}
我的 junit-platform.properties
文件包括:
cucumber.glue=com.bddtests.steps
cucumber.plugin=pretty,junit:target/cucumber-reports/Cucumber.xml,io.qameta.allure.cucumber5jvm.AllureCucumber5Jvm
cucumber.filter.tags=not @disabled
cucumber.execution.parallel.enabled=true
cucumber.execution.parallel.config.strategy=fixed
cucumber.execution.parallel.config.fixed.parallelism=10
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。