ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject [ANN] Apache AntUnit 1.0 Released
Date Mon, 08 Jan 2007 19:05:49 GMT
-----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-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message