合并三个独立项目的cobertura代码覆盖率报告

合并三个独立项目的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