8
當我在測試報告中使用格式@CucumberOptions
時,它顯示格式選項已被棄用,如何解決該問題。如何解決@CucumberOptions中格式選項的棄用問題?
@CucumberOptions(monochrome = true, format = {"html:target/cucumber-html-report", "json:target/cucumber-json-report.json" })
當我在測試報告中使用格式@CucumberOptions
時,它顯示格式選項已被棄用,如何解決該問題。如何解決@CucumberOptions中格式選項的棄用問題?
@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" })