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