<junitreport>

This task is very useful for consolidating the entire XML file set, generated by the <junit> task, into viewable HTML files for easy dissemination. If you feel wadding through reams of log files looking at the results of your testing is a little tedious, you will thoroughly enjoy the output from this task. Nothing like a beautifully formatted report to tell you that all your tests passed (or failed!).

The task relies on a number of additional libraries to function correctly; namely Xalan2.x or higher. This is readily available from the main Apache Web site at http://xml.apache.org/xalan-j/.

Download the latest distribution and extract the JAR files xalan.jar and bsf.jar placing them in the Ant library directory. The main <junitreport> ...

Get Ant Developer’s Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.