« 08 January 2007 - Apache FOP 0.93 Released | Main | 10 January 2007 - Apache HTTP Server 2.2.4 Released »

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

----

Project Info -- Apache AntUnit

DOAP File

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 Websitehttp://ant.apache.org/antlibs/antunit/
Programming LanguagesJava
Categoriesbuild-management, testing
Mailing Listshttp://ant.apache.org/mail.html
Bug/Issue Trackerhttp://issues.apache.org/bugzilla/buglist.cgi?product=Ant
Project Management CommitteeApache Ant

Access to the source code:

Browsehttp://svn.apache.org/viewcvs.cgi/ant/antlibs/antunit
SVN Directhttp://svn.apache.org/repos/asf/ant/antlibs/antunit
Posted by Tetsuya Kitahata at January 9, 2007 08:52 AM
http://www.apachenews.org/archives/000929.html
[ Category : Apache Ant ] (PDF)(XML)