ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: [ANN] Apache AntUnit 1.0 Beta 1 Released
Date Fri, 22 Sep 2006 07:46:27 GMT
cool!
Peter

On 9/22/06, Stefan Bodewig <bodewig@apache.org> wrote:
>
> -----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: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message