合并三个独立项目的cobertura代码覆盖率报告 [英] Combine cobertura code coverage reports of three separate projects

查看:101
本文介绍了合并三个独立项目的cobertura代码覆盖率报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有三个项目,分别存储在三个单独的存储库中。他们每个人都是一个单独的mvn项目。我想知道是否有一种方法可以汇总三个报告?

I have three projects which are stored in three separate repositories. Each of them is a individual mvn project. I wonder is there a way to aggregate three reports in one?

我看了一下cobertura汇总函数。但是似乎它只能处理项目的子模块。

I took a look at the cobertura aggregate function. But seems like it can only handle sub-modules of a project.

有人有什么建议吗?

推荐答案

在另一个问题响应者提供了指向他们编写的Python脚本的链接,该脚本执行了您所要的操作,我将 xml组合器移至要点位于此处

In another question a responder gave a link to a python script they had written that did what you are asking, I moved that "xml combiner" to a gist that is located here

这篇关于合并三个独立项目的cobertura代码覆盖率报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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