Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  1. Download the sakai developer license for clover (see attached)
  2. Write unit tests and configure maven to run these tests and/or test suites (see the maven test documentation for help setting up unit tests in maven)
  3. maven -Dmaven.clover.license.path=<path to clover.license> clover
  4. The test coverage reports are generated in target/docs/clover

One of the things that I don't like about this plugin (or that I simply don't know how to do yet) is to generate a report based on multiple projects. For instance, since our hibernate pojos must be packaged separately from our service implementations (and hence, our tests of our services), the pojos do not appear in the clover report for the service implementation. Kind of a drag for hibernate projects...

Here is a sample clover report.