Community
Participate
Working Groups
The Clover code coverage tool is available free to open source projects. Before donation to Eclipse, builds ran code coverage checks using Clover and failed if the coverage fell below a pre-defined value. This should be re-instated for Virgo.
As reported in bug 331221 only open source tools are allowed on the Eclipse Hudson CI server, so we will not be able to get code coverage checks as part of Eclipse Hudson CI builds unless we can identify an open source replacement for Clover. Emma is an Eclipse plugin and I do not know whether it is possible to run it as part of a build to gather the necessary coverage stats.
There is a plugin for Emma on Hudson (http://wiki.hudson-ci.org/display/HUDSON/Emma+Plugin) but we would have to convince the Webmaster to install it. It is also possible to just run Emma from the ant build but we would then have to go and look at the coverage results for each build. With the plugin we would get nice trend graphs in the Hudson UI.
That's interesting. Unfortunately what we really want is to know when the code coverage of runtime (non-test) code by unit tests drops below the configured threshold. Eye-balling coverage results or trend graphs won't give us that, so we'd have to find some way of processing Emma's output.
With Bug 325871 we have a coverage check up and running now. *** This bug has been marked as a duplicate of bug 325871 ***
3.7.0.M02 has been shipped.