且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

intellij idea社区版 - 代码覆盖率?

更新时间:2023-09-18 16:10:40

那么,什么都没有在CE工作是集成代码覆盖。任何外部工具都可以工作。例如,Emma集成到maven中,在IDEA中设置maven目标很容易。

So, what doesn't work in CE is integrated code coverage. Any external tool would work. Emma for example integrates into maven and setting up maven goals inside IDEA is easy.

只需更改你的pom.xml以包含emma maven插件,它应该在IDEA和普通命令行中工作。

Just alter your pom.xml to include the emma maven plugin and it should work inside IDEA and on normal command line.

http://emma.sourceforge .net / maven-emma-plugin /