新版本有变化,不允许使用format = {},不赞成使用。任何人都可以帮助如何在新版本中编写相同的内容,在所提到的位置生成HTML报告。
format已被plugin取代,因此您可以使用:
format
plugin
@CucumberOptions(plugin = {"progress", "html:target/cucumber-report.html"})