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.
- Jumble - http://jumble.sourceforge.net/
- Quilt - http://quilt.sourceforge.net/
- Coverlipse - http://coverlipse.sourceforge.net/index.php
- Xradar - http://xradar.sourceforge.net
- Sonar - http://sonar.hortis.ch/features/
- Findbugs and Junit - http://cs.ubc.ca/~ericazhj/papers/pl.pdf