有没有一种方法可以获取唯一的jacoco .exec文件名?
目前,在实习期间,我设置了我的Jacoco-Maven插件,以便在生成单元和集成报告后,将它们合并为一个。
现在,将CircleCi添加到混音中,我们为测试运行并行作业。这些作业只会导致运行测试的.EXEC文件被读取为报告的基础,这意味着所有其他测试都被忽略了,并且我们的覆盖范围将被降低。
我认为解决方案是拥有唯一的名称,然后只使用我的POM中的通配符合并所有.exec文件,但是上面似乎没有文档。
Currently at my internship, I have my Jacoco-Maven plugin set up such that after the unit and integration reports are generated, they are merged into one.
Now, adding CircleCI into the mix, we run parallel jobs for our tests. These jobs cause only longest running test's .exec file to be read as the basis for the report, meaning all other tests are ignored, and our coverage would be lowered.
I thought the solution would be to have unique names, and then just merge all .exec file using a wildcard character within my POM, but there seems to be no documentation on it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论