Open GoogleCodeExporter opened 8 years ago
Original comment by rgardler...@gmail.com
on 25 Aug 2008 at 10:26
Original comment by rgardler...@gmail.com
on 27 Sep 2008 at 11:28
I've installed Emma into /usr/local/emma
Original comment by ipv6g...@gmail.com
on 11 Apr 2009 at 7:07
Emma needs to be referred to in the surefire section of the pom like :
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<forkMode>once</forkMode>
<reportFormat>xml</reportFormat>
<classesDirectory>${project.build.directory}/generated-classes/emma/classes</classesDirectory>
</configuration>
</plugin>
Then EMMA coverage needs enabling in the hudson web interface and pointing to
where the xml files are stored.
Original comment by ipv6g...@gmail.com
on 11 Jul 2010 at 7:11
I tried adding the EMMA plugin to core but it started to cause class not found
errors. I've not got the time to debug effectively right now, so just logging a
failed attempt.
Original comment by ross.gardler
on 3 Aug 2010 at 11:01
We are already using cobertura [1] for test code coverage, so I'm not sure if
this is still needed.
[1] http://mojo.codehaus.org/cobertura-maven-plugin/
Original comment by sander.v...@oucs.ox.ac.uk
on 4 Aug 2010 at 8:12
No problem with using Cobertura instead, but we need it to display reports in
hudson and to fail builds if test coverage is too low.
(Changed subject)
Original comment by ross.gardler
on 4 Aug 2010 at 9:08
Original issue reported on code.google.com by
rgardler...@gmail.com
on 25 Aug 2008 at 10:23