January 09, 2007
09 January 2007 - Apache AntUnit 1.0 Released
The Apache Ant Developer Team is proud to announce the 1.0 release of the Apache AntUnit Ant library.
AntUnit provides Ant tasks that allow you to write (functional) tests in Ant build files. For example
<target name="testTouchCreatesFile">
<au:assertFileDoesntExist file="${foo}"/>
<touch file="${foo}"/>
<au:assertFileExists file="${foo}"/>
</target>
would assert that a certain file was freshly created by the <touch> task.
We don't suggest that you write the unit tests for all your code using AntUnit. But if you are writing Ant tasks, AntUnit makes it very easy to write tests and in fact is used by the Ant developers to test Ant itself.
In addition to some assertion tasks, the library provides an <antunit> task that runs all tests in selected build files and a formatter mechanism similar to the <junit> task.
The release is the first "proper" release of AntUnit, it is almost identical to the beta2 release.
----
-- The Apache Ant Developer Team
----Posted by Tetsuya Kitahata at January 9, 2007 08:52 AMProject Info -- Apache AntUnit
The Ant Library provides Ant tasks for testing Ant task, it can also be used to drive functional and integration tests of arbitrary applications with Ant.
Releases can be downloaded from http://ant.apache.org/antlibs/bindownload.cgi
Project Website http://ant.apache.org/antlibs/antunit/ Programming Languages Java Categories build-management, testing Mailing Lists http://ant.apache.org/mail.html Bug/Issue Tracker http://issues.apache.org/bugzilla/buglist.cgi?product=Ant Project Management Committee Apache Ant Access to the source code:
Browse http://svn.apache.org/viewcvs.cgi/ant/antlibs/antunit SVN Direct http://svn.apache.org/repos/asf/ant/antlibs/antunit
http://www.apachenews.org/archives/000929.html
[ Category : Apache Ant ] (PDF)(XML)

