You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by S Prabhu <sp...@emmeskay.com> on 2008/09/02 14:11:24 UTC

Testing Ant Script

Hi,

I have developed an ANT Script to perform certain process. I want to test
this ant script without executing it.
Is there is any way to test the ANT Scripts (like, Junit for java APIs....)
-- 
View this message in context: http://www.nabble.com/Testing-Ant-Script-tp19269002p19269002.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Re: Testing Ant Script

Posted by Steve Loughran <st...@apache.org>.
S Prabhu wrote:
> Hi,
> 
> I have developed an ANT Script to perform certain process. I want to test
> this ant script without executing it.
> Is there is any way to test the ANT Scripts (like, Junit for java APIs....)

There is AntUnit, but it will execute the script, just as Junit does for 
its code. You get to insert assertions about what happened.

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