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

The Ant Team is proud to announce the first Beta release of
Apache AntUnit 1.0.

AntUnit is an Ant Library - a library of 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, for example 

  <target name="testCopy" xmlns:au="antlib:org.apache.ant.antunit">
    <au:assertFileDoesntExist file="copytest1.tmp"/>
    <copy file="copy.xml" tofile="copytest1.tmp"/>
    <au:assertFileExists file="copytest1.tmp"/>
  </target>

would validate that <copy> actually creates the file.

The <antunit> task executes targets in a collection of build files and
supports custom listeners in a manner similar to <junit>'s formatters.

AntUnit may be useful outside the realm of testing Ant tasks as well,
the assertion tasks may be used to validate pre-conditions or the
whole Antlib can be used to drive functional/integration tests of
arbitrary software via Ant - if the results of those tests can be
asserted from "the outside".

AntUnit 1.0 Beta 1 is available at
<http://people.apache.org/dist/ant/antlibs/antunit/> 
- - it requires Ant 1.7.0 Beta 2 or later.

Please direct any feedback to dev@ant.apache.org and use Ant's
Bugzilla instance for enhancement requests and bug reports.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFFE12lohFa4V9ri3IRAgpbAJ9Ho7bT3tilht6ctWjR/Hiz9lc61QCgy2Tz
mraHJgdajbrgM7H4spxvoDw=
=OC9V
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to