我的一些黄瓜方案失败了,我想将它们标记为@wip,以便我仍然可以在Runner.java类中对其进行标记,但实际上不能运行它们。我在.feature文件中标记失败的情况,如下所示:@wipScenario Outline: BR001 - NEGATIVE - Description我在Runner类中指定标签,如下所示:@RunWith(Cucumber.class)@CucumberOptions( plugin = {"progress", "html:build/report/cucumber/html", "junit:build/report/cucumber/junit/cucumber.xml", "json:build/report/cucumber/json/cucumber.json" }, glue = {"qa"}, features = {"src/test/java/features"}, tags = {"@BR000,@BR004b, @BR007, @BR008, @BR009, not@wip"} )public class QARunner {如果我删除not @ wip,那么其他5个测试都可以通过。我需要进行哪些更改,以便可以包括进行中的测试,但不能运行它们?
添加回答
举报
0/150
提交
取消