AntUnit is a library of Ant tasks that was initially developed to write tests for Ant tasks without resorting to JUnit. It makes it easy to turn an existing build file that exhibits an error into an AntUnit test. Tests are written as targets in a build file using assertion tasks provided by AntUnit. The antunit task executes targets in a collection of build files and supports custom listeners in a manner similar to the junit task's formatters.
This version fixes a few bugs in 1.0 and adds a few new assertions. The most visible change is that listeners can now receive the output of the project under testing and the XML, and plainlisteners have been adapted to optionally include this output in their own logs.
URL: Apache Ant - AntUnit