![](/img/trans.png)
[英]The type CucumberOptions is deprecated how can i resolve the issue
[英]How to resolve the deprecation of format option in @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" })
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.