You can use the xml schema file that is created with the <nantschema/> task to check the validity of elements, and their attributes. This file is also provided with each distribution in the schema directory of the zip. This method isn't 100%, but should get lots of common errors and mistakes.
 
If you need any further help doing this please let us know.
 
What other testing do you want to do?
 
----- Original Message -----
Sent: Tuesday, January 20, 2004 11:07 AM
Subject: [Nant-users] unit testing a nAnt script

Is there a nAntUnit or some such utility to unit test nAnt scripts?  If not, does anyone have any suggestions on how to go about testing a nAnt script in a structured way?

 

- Stuart

Reply via email to