Clover is a properietary tool that gathers code coverage information and generates reports from it. They have kindly donated a license for Clover to the Tapestry project.
To configure for clover:
Get a copy of the Clover distribution. Cortex eBusiness has donated a copy of Clover to support Tapestry. The distribution is available from Howard M. Lewis Ship.
Extract the Clover distribution to a non-temporary directory.
Modify config/build.properties
and add an entry
for clover.dir
. As usual, provide the absolute
pathname to the Clover directory, using only forward slashes.
Copy clover.jar
to the
directory.
Ant
/lib
The Clover report executes from the junit
directory, using the Ant
target clover
. It builds the clover-enhanced version of the framework
classes, and executes the JUnit test suite twice (with all logging enabled and
then with all logging disabled),
then generates the HTML report into the
web/doc/clover
directory.