Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

An excellent method for generating coverage reports is part of the maven 2 build. If you instrument the code for coverage and then run surefire reports the Junit tests are run and then a an actual report of coverage can be automatically generated.

First results were negative. Adding the right information to the top level pom generated the correct tests, but  generated sadly alsogenerated the reports with zero length. Conclusion: Either I failed to add the correct information or this is an unwanted bug. However, going down to the modules the report generation succeeded.

...