如果5个作业正在运行Parellelly,如何获得合并的黄瓜报告

发布于 2025-02-06 03:12:01 字数 129 浏览 3 评论 0 原文

当前方案:我们在RT执行中有5个作业,每个作业都在5个不同的代理上运行。因此,我们有5个黄瓜报告。

预期的情况:我们需要所有5个工作的Cucumber HTML报告。

如何解决?我们正在Azure Devops工作。

Current Scenario: We have 5 jobs in RT executions and each job is running on 5 different agents. So we have 5 cucumber reports.

Expected Scenario: We need a consolidated Cucumber HTML Report of all 5 jobs.

How it can be resolved? We are working in azure Devops.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

缱绻入梦 2025-02-13 03:12:04

Cucumber HTML报告是单页HTML应用程序。如果将其打开在编辑器中,您会发现它包含一系列消息。

这些消息也可以通过使用消息来获得:target/toarge/messages.ndjson 插件。如果您可以在单个工作中获得每个并行作业的消息,则可以将它们合并,然后将它们传递到

要合并文件,您可能必须过滤一些消息。绝对需要编写一些代码,不要以前认为有人做过此操作,但不可能是不可能的。

The Cucumber Html report is a single page html application. If you open it up in an editor you'll see that it contains a an array of messages.

These messages can also be obtained by using the messages:target/messages.ndjson plugin. If you can obtain in a single job the messages from each parallel job you can then merge these and pass them to the html-formatter.

To merge the files you may have to filter out some messages. Definitively requires writing some code, don't think anyone has done this before, but shouldn't be impossible.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文