没有Jenkins CI的空手道的可视化报告 [英] Visual reporting for Karate without Jenkins CI

查看:92
本文介绍了没有Jenkins CI的空手道的可视化报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图让Karate DSL的报告工作正常,这被证明是一个挑战,因为我的团队使用Circle CI而不是Jenkins.黄瓜报告似乎仅对詹金斯有用.

I'm trying to get reporting working for Karate DSL, and it's proven a challenge because my team uses Circle CI instead of Jenkins. Cucumber reporting seems to only work for Jenkins.

我在这里查看过此文档

https://github.com/intuit/karate /tree/master/karate-demo#example-report https://github.com/jenkinsci/cucumber-reports-plugin

我想知道是否可以推荐一个圈子友好的同等人?如果可以在终端中生成报告,那就更好了.要说服我的团队更改CI工具,以便我可以实施测试框架,这将是一件很难的事.

I was wondering if there is a circle friendly equivalent you could recommend? It'd be even better if the reports could be generated in the terminal. It's going to be a hard sell to convince my team to change CI tools just so I can implement a test framework.

谢谢!

推荐答案

这是我的建议:

如果您遵循演示/文档说明-您将获得HTML报告,例如target/cucumber-html-reports,这是纯Maven和Java",到目前为止完全不依赖CircleCI.

If you follow the demo / doc instructions - you will get the HTML reports in say target/cucumber-html-reports, and this is "pure Maven and Java", no dependency on CircleCI at all so far.

现在您所需要做的就是以某种方式使这些HTML报告可以通过网络访问.在Jenkins中,有一个 HTML Publisher插件.我对CircleCI不熟悉,但是快速搜索表明,有一种方法公开要构建的链接文物.

Now all you need to do is somehow make these HTML reports accessible via the web. In Jenkins, there is an HTML Publisher Plugin. I am not familiar with CircleCI but a quick search suggests that there is a way to expose links to build artifacts.

还要注意,当您按照演示进行操作时,Java JUnit XML报告也将 输出到target/cucumber-reports.看来CircleCI具有支持这些,这意味着如果配置正确,它应该能够得出构建通过/失败状态和统计信息.

Also note that when you follow the demo, Java JUnit XML reports would also be output to target/cucumber-reports. It looks like CircleCI has support for these which means that it should be able to derive the build pass/fail status and stats if configured right.

这篇关于没有Jenkins CI的空手道的可视化报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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