Disable HTML karate test reporting

别来无恙 提交于 2021-02-17 03:11:42

问题


I have a karate test-suite that fail for GC overhead when generating the HTML report on a system with limited resources.

The report is not required, so I would like to disable the generation, but so far I didn't find how to do it.

Any advice?


回答1:


i see your pain mate. Have you gone far about this topic? i have tried everything mentioned on the issues and i think it's about a bug in karate framework which mentioned here https://github.com/intuit/karate/issues/1199

Btw, this error occurs when the tests are too much(couldn't specified the exact number). For example i have a test package with 203 scenarios , that one works fine but the other package has 376 scenarios and that one is getting this error.

I closed all the logs and minimized the dependencies in pom.xml and monitored the memory usage of the tests. Cpu usage around 350% while running just 1 scenario



来源:https://stackoverflow.com/questions/57205453/disable-html-karate-test-reporting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!