科贝尔图拉Java 7 支持
cobertura 何时支持 java 7 有什么想法吗?
找到http://sourceforge.net/tracker/index.php?func=detail&aid=3295711&group_id=130558&atid=720018
我们更喜欢 cobertura 而不是 emma 和其他代码覆盖率工具,看起来我们必须再次重做所有这些,因为它们都不支持 java 7。
谢谢
Any ideas when cobertura will support java 7?
Found http://sourceforge.net/tracker/index.php?func=detail&aid=3295711&group_id=130558&atid=720018
We preferred cobertura over emma and other code coverage tools and looks like we have to redo all those again, now that none of them support java 7 yet.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Cobertura 2.0.3支持Java 7,使用该版本的cobertura-maven-plugin 2.6版本刚刚发布
Cobertura 2.0.3 supports Java 7, the cobertura-maven-plugin version 2.6 which uses this version has been just released
我可以通过添加以下参数来使其工作:
我从这里得到它。
I was able to get it to work by adding the following argument:
I got it from here.
我想答案是:不会。 邮件列表中有讨论 该项目没有得到维护,并且有 已开放一年的 Java 7 bug 。从好的方面来说,JaCoCo 功能具有可比性并且正在积极维护。
I think the answer is: it won't. There is discussion on the mailing list that the project is not being maintained, and there are Java 7 bugs that have been open for a year. On the bright side, JaCoCo functionality is comparable and is being actively maintained.
根据 Jagger 的评论,看起来现在正在积极致力于下一个版本 - 请参阅:
https://github.com/cobertura/cobertura/commit/b303fdc94851088a3c8699651770faef33180924
并添加评论“修复 java 7 堆栈映射问题”。
Further to Jagger's comment, it looks like this is now being actively worked on for the next release - see:
https://github.com/cobertura/cobertura/commit/b303fdc94851088a3c8699651770faef33180924
with the comment "Fix java 7 stack map issue".
老线程,但我的答案可能有用:Cobertura 确实支持最新的 Java 版本并且得到积极维护。 eCobertura(Cobertura 的 Eclipse 插件)自 2010 年以来就没有得到维护,但 Cobertura 本身仍然得到维护。
eCobertura 不会与 Java 7 或更高版本一起运行,但 Cobertura 可以。
如果您正在寻找覆盖率报告(例如 eCobertura 过去提供的报告),只需使用
mvn cobertura:cobertura
并检查target/site/cobertura/index.html
下的 HTML 报告Old thread, but my answer may be useful: Cobertura does support the latest Java versions and is actively maintained. eCobertura (the Eclipse plug-in for Cobertura) hasn't been maintained since 2010, but Cobertura itself is still maintained.
eCobertura will not run with Java 7 or higher, but Cobertura will.
If you are looking for coverage reports (suc h as the ones that eCobertura used to provide), just run the Cobertura maven plugin with
mvn cobertura:cobertura
and check the HTML report undertarget/site/cobertura/index.html