Junit test coverage tools

Open Source Tools available.

Example.

Download the latest source:

svn co https://source.sakaiproject.org/svn/sakai/trunk sakai

Add at the end of the top level pom.xml there is a section for reporting, expand as shown next 

<reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <configuration>
          <aggregate>true</aggregate>
        </configuration>
      </plugin>
    <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <configuration>     
        <formats>
                <format>xml</format>
                <format>html</format>
        </formats>
        </configuration>
 </plugin>
    </plugins>
  </reporting>
 



mvn -P pack-demo install
mvn cobertura:cobertura

 Screenshot


Resources.