禁用HTML空手道测试报告 [英] Disable HTML karate test reporting

查看:100
本文介绍了禁用HTML空手道测试报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个空手道测试套件,在资源有限的系统上生成HTML报告时,由于GC开销而失败.

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.

有什么建议吗?

推荐答案

我看到你的痛苦伴侣.您对这个话题走得很远了吗?我已经尝试过在问题上提到的所有内容,并且我认为这与此处提到的空手道框架中的错误有关 https ://github.com/intuit/karate/issues/1199

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

顺便说一句,当测试太多(无法指定确切数字)时,会发生此错误.例如,我有一个包含203个场景的测试程序包,一个测试程序工作正常,但另一个程序包却有376个场景,并且一个程序包出现此错误.

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.

我关闭了所有日志,并最小化了pom.xml中的依赖性,并监视了测试的内存使用情况.在仅运行1个场景的情况下,CPU使用率约为350%

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

这篇关于禁用HTML空手道测试报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆