TheProjecter / simal

Automatically exported from code.google.com/p/simal
0 stars 0 forks source link

Integrate Cobertura with Hudson #181

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
EMMA is an open-source toolkit for measuring and reporting Java code
coverage. EMMA distinguishes itself from other tools by going after a
unique feature combination: support for large-scale enterprise software
development while keeping individual developer's work fast and iterative.
Every developer on your team can now get code coverage for free and they
can get it fast!

http://hudson.gotdns.com/wiki//display/HUDSON/Emma+Plugin
http://mojo.codehaus.org/emma-maven-plugin/introduction.html
http://emma.sourceforge.net/index.html

Original issue reported on code.google.com by rgardler...@gmail.com on 25 Aug 2008 at 10:23

GoogleCodeExporter commented 8 years ago

Original comment by rgardler...@gmail.com on 25 Aug 2008 at 10:26

GoogleCodeExporter commented 8 years ago

Original comment by rgardler...@gmail.com on 27 Sep 2008 at 11:28

GoogleCodeExporter commented 8 years ago
I've installed Emma into /usr/local/emma 

Original comment by ipv6g...@gmail.com on 11 Apr 2009 at 7:07

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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