You are viewing a plain text version of this content. The canonical link for it is here.
Posted to announce@apache.org by Stefan Bodewig <bo...@apache.org> on 2007/01/08 20:05:49 UTC

[ANN] Apache AntUnit 1.0 Released

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

Stefan Bodewig

for the Ant Developer Team
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFFopYJohFa4V9ri3IRAqrgAKCKcdq9W+gwnqMUjBPs7QRF333JWQCfcR7a
EoOzSrXAlBGYdM0nGrwUUT8=
=zmB8
-----END PGP SIGNATURE-----