31 May 2011
With great pleasure Atlassian presents Clover 3.1.
Clover 3.1 adds support for Java 1.7 language constructs, Maven 3, Groovy 1.7 & 1.8, Grails 1.3.7, Eclipse 3.6 and 3.7 and Intellij IDEA 10.5 and 11.Upgrading to Clover 3.1 is free for all customers with active Clover software maintenance at the date of launch and of subsequent updates.
This page describes new features of Clover 3.1. For changes in 3.1.x bug-fix releases, please refer to the relevant documentation:
Clover 3.1 now provides support for the Java 1.7 language features including try resource blocks, multi-catch statements, diamond generics syntax, binary numeric literals and numeric literals with underscores.
Clover 3.1 now supports recording and reporting code coverage in all your Maven 3 projects. Check out the Clover-for-Maven plugin.
Ant and Maven 2 plugins now provide support for Groovy 1.6 through to 1.8. Most Clover-for-Ant tasks will work on Groovy code and the Clover-for-Maven 2 plugin now supports Groovy code compilation and report generation.
Read more: Clover-for-Ant Upgrade Guide and Upgrade Notes for Clover-for-Maven 2 Groovy Integration.
Unless otherwise indicated, all tasks described in the Clover-for-Ant User's Guide work with Groovy code.
Clover's reporting features support Groovy code, which includes per-test coverage and other reporting features available in Ant and Maven 2.
Furthermore:
Screenshot: Clover Groovy Code Coverage
Screenshot: Clover Filtering Specified Groovy Methods
Clover 3.1 incorporates a plugin for the Grails web application development framework supporting Grails version 1.3.7. Grails project developers can test their Groovy code using Clover to generate coverage reports.
The Clover-for-Grails plugin is very easy to install and upgrade, with multiple installation options that can be issued from a single Grails command. Upgrading is as easy as reinstalling the Clover-for-Grails plugin.
You can configure the Clover-for-Grails plugin on the command line or by including Clover-for-Ant-based (Gant) instructions directly inside the BuildConfig.groovy
file.
Read more: Clover-for-Grails, Clover-for-Grails Installation and Upgrade Guide
Screenshot: Clover Report Dashboard of a Grails Project
The Clover-for-Eclipse plugin now supports Eclipse 3.6 and 3.7. Eclipse does not yet support Java 1.7 language features but Clover-for-Eclipse is ready once it does.
The Clover-for-IDEA plugin now supports Intellij 10.5 and 11 including support for Java 1.7 language features.
Screenshot: Clover-for-IDEA with a project using Java 1.7 language features
See the changelog for details.