[英]How can I generate the cucumber json report with karate
At the moment, only hml cucumber reports are generated and also karate reports in json format but I can't get the Cucumber reports in json format to be able to use them in an integration Help!
跑步者文件看起来像这样 `在此处输入图像描述
I have the configuration that you showed and the Cucumber reporting dependency, I don't know what else I need
since I am only getting the html report from cucumber and I need the json
<configuration>
<projectName>karate_automatione</projectName>
<outputDirectory>${project.build.directory}/cucumber-report-html</outputDirectory>
<cucumberOutput>${project.build.directory}/cucumber.json</cucumberOutput>
</configuration>
查看karate-reports
文件夹。 任何带有*.json
扩展名的文件都是 Cucumber JSON 格式。
但是每个Feature
都会有一个单独的 JSON output。但是大多数处理 Cucumber JSON 的工具都能够一次处理多个。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.