自定义 Emma 报告生成

发布于 2024-12-25 07:08:22 字数 199 浏览 6 评论 0原文

有没有办法为 EMMA 生成自定义报告。我想要做的是创建一个 html 报告,将 java 包视图分组到功能组件区域中,以便我可以看到由功能组件而不是包驱动的报告。

例如说我有

功能 A com.aa com.ab

特征 B com.ba com.ba

该报告将配置为显示功能 A 和功能 B 的覆盖范围,而不是底层包。

Is there a way to generate a custom report for EMMA. What I am looking to do is create an html report that groups the java packages view into a functional component area so that I can see a report driven by functional component instead of package.

for Example say I have

Feature A
com.a.a
com.a.b

Feature B
com.b.a
com.b.a

The report would be configured to show the coverage on Feature A and Feature B instead of the underlying packages.

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

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

发布评论

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

评论(1

滿滿的愛 2025-01-01 07:08:22

据我所知从文档,没有这样的功能。不过,您可以做的是添加一个后处理器,它可以获取 EMMA 报告并根据您的喜好重组报告:EMMA 提供了一个方便的 XML 格式 易于使用。

As far as I can see from the documentation, there's no such a feature. What you can do, though, is to add a post-processor which would take EMMA reports and restructure those at you prefer: EMMA provides a handy XML format which is easy to consume.

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