【发布时间】:2015-06-30 12:16:58
【问题描述】:
当我在@CucumberOptions 中使用选项 format 进行测试报告时,它显示格式选项已被弃用,如何解决该问题。
@CucumberOptions( monochrome = true, format = {"html:target/cucumber-html-report", "json:target/cucumber-json-report.json" })
【问题讨论】:
当我在@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:target/cucumber-json-report.json" })
【讨论】: