如何将@cucumberoptions编写为format ="html:folderpath"在新版本的黄瓜中? [英] How to write @cucumberoptions as format="html:folderpath" in new version of cucumber?
本文介绍了如何将@cucumberoptions编写为format ="html:folderpath"在新版本的黄瓜中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
已弃用新版本,其中不允许使用format = {}.谁能帮助您在新版本中编写相同的代码,并在上述位置生成HTML报告.
There is change in new version which do not allow to use format={}, says its deprecated. can anyone help how to write the same in new version generate a HTML report at the location mentioned.
推荐答案
format
已替换为 plugin
,因此您可以使用:
format
has been replaced with plugin
so you can use:
@CucumberOptions(plugin = {"progress", "html:target/cucumber-report.html"})
这篇关于如何将@cucumberoptions编写为format ="html:folderpath"在新版本的黄瓜中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文