当我在@CucumberOptions中使用选项format进行测试报告时,它显示格式选项已被弃用如何解决。@CucumberOptions(monochrome=true,format={"html:target/cucumber-html-report","json:target/cucumber-json-report.json"}) 最佳答案 用插件替换格式@CucumberOptions(monochrome=true,plugin={"html:target/cucumber-html-report","json:tar