You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David Corbin <dc...@machturtle.com> on 2003/02/23 21:02:15 UTC

Unit Testing Tasks....

Has anyone built a framework designed to help unit-test ant tasks?

Thanks
David   


Re: Unit Testing Tasks....

Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "David Corbin" <dc...@machturtle.com>
To: "Ant Users List" <us...@ant.apache.org>
Sent: Sunday, February 23, 2003 12:02
Subject: Unit Testing Tasks....


> Has anyone built a framework designed to help unit-test ant tasks?

ant does that; but you only get it with the ant source...look at src\test
and all the tests underneath. The core feature is a base class that lets you
execute targets in a named build file, expect properties set afterwards to
certain values, or exceptions to be thrown, output to be output, etc, etc.