Clover 2.0 Release Notes
Clover 4.0 has now been released. Read the Clover Release Notes and the latest Clover documentation for information on the newest Clover release.
2007 年 10 月 17 日
Atlassian Software Systems presents Clover 2.0
Clover 2 is a major rewrite that adds new and unique functionality to help your team get the most out of their testing effort. We've augmented Clover's award-winning functionality by incorporating both test result and code complexity statistics. The resulting reports give you powerful insight into your testing. You can now see not only what sections of code were covered by your tests, but also what tests hit what code. Clover's new 'Cloud reports' let you quickly and easily assess strengths and weaknesses in your testing suite, helping you to prioritize your testing effort.
Clover 2 provides sophisticated source-level HTML reports. Quickly drill down into your test suite to see results of individual tests, along with information about what code each test hit. From there you can click to see the actual source lines hit by the test. In-page controls allow you to toggle the coverage annotations from all tests that hit a particular class. At any line in the source you can click to get a popup showing all the tests that hit that particular line, and their pass/fail status.
Upgrading to Clover 2.0 is free for all customers with active Clover software maintenance at date of launch.
Highlights of Clover 2.0:
A big 'Thank You' to our Clover 2 Beta Testers
Your helpful bug reports and feature suggestions have been invaluable in shaping Clover 2. We thank you for your patience during the beta process. If you'd like to request a feature or report a bug, we'd love to hear from you.
Your votes and issues help us keep improving our products, and are much appreciated.
Upgrading to Clover 2.0
Clover 2.0 can be downloaded from the Clover Download Centre. Before upgrading, please refer to the relevant Upgrade Guide(s) and Changelog(s):
Highlights of Clover 2.0
Coverage by test case
Each source file displays which tests hit which line of code. When you select a test case, the lines that the test case executed are highlighted. Alternatively, when you click on a source line, the tests that hit that line are displayed. Read more.
Test results integrated with reports
Test results (pass/fail/error) are now optionally integrated with the coverage report. Error traces are hyperlinked to the relevant source line. Read more.
'Coverage Cloud' reports
These give an instant overview of specific aspects of your project. All classes in your project are displayed on a single page and highlighted to inform you about project risks or potential coverage improvements. Read more.
Linked, cross-referenced reports
Reports produced with the same task are automatically linked to each other. Source code is cross-referenced for easy traversal between classes and up and down package hierarchies.
Context filters
Source code excluded by a context filter is now highlighted grey and project, package and file level statistics may be viewed with filtering either on or off.
Method-level metrics
Metrics at the method level are displayed both inline and in each class summary section.
Sortable columns
All tables in Clover 2 reports are client-side sortable.
Streamlined Ant integration and simplified Ant tasks
The new <clover-html-report>
and <clover-pdf-report>
tasks provide sensible defaults to the existing <clover-report>
task. The Clover initstring
is now optional. If not specified, Clover 2 will automatically create and manage the coverage database for you.
Inline help
Help tooltips can be turned on for each page to describe metrics and controls.