RE: [Nant-users] unit testing a nAnt script

2004-01-21 Thread Jason King
Hello   Here are my thoughts.  Split up complex scripts in a sensible way, think sensible coding, sensible build scripts.  Then, it would be possible to test these individual elements of a bigger picture by using NUnit, at least for the bits of scripts that create files, so a library buildin

Re: [Nant-users] unit testing a nAnt script

2004-01-20 Thread Scott Hernandez
You can use the xml schema file that is created with the 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 ne