簡體   English   中英

如何解決@CucumberOptions中格式選項的棄用?

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM