自定义 Emma 报告生成
有没有办法为 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知从文档,没有这样的功能。不过,您可以做的是添加一个后处理器,它可以获取 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.