Community

I have a problem, when I run the cobertura target maven target, the report always shows 0%. I tried to play unit tests and no luck. I tried to configure the cobertura plugin in the reports section and build a pom section, and also tried to bind it to both the site phase and the package. Any thoughts?

In a related note, I also noticed that running tests in Cobertura inside hudson causes the junit plugin to report that each test has run twice (which doubles the number of tests reported as a run). How to get around this?

thanks,

Jeff

+5
source share
2 answers

JDK 1.6.0_14 cobertura. . 0% ​​ b7 JDK6, , , ( )

+6

, pom.xml, Cobertura, . , -, ? , / [http://mojo.codehaus.org/cobertura-maven-plugin/usage.html] , , < > .

+1

All Articles