Hi Daya, when you build NAnt from cvs, you can use the following build fragment :
<nunit2> <formatter type="Plain" usefile="false" /> <formatter type="Xml" usefile="true" extension=".xml" /> <test assemblyname="${build.dir}\ipmtests\ipmtests.dll" /> </nunit2> this will cause the test results to be : - output in the build log in plain text (see <formatter type="Plain" usefile="false") - persisted in xml format in a file named "${build.dir}\ipmtests\ipmtests.dll-results.xml" Hope this helps, Gert ----- Original Message ----- From: "Daya Sharma" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 22, 2003 1:08 AM Subject: [Nant-users] Output of NUnit2 task and subtask test > Hi All > > I was wondering how can I capture the output of a NUnit2 task in my build > script. > > Can it be captured as a xml file which I can later transform into HTML?? > Something like this > > <nunit2 verbose="true"> > <test assemblyname="${build.dir}\ipmtests\ipmtests.dll" > out="testResults.xml"/> > </nunit2> > > I am using Nant 0.8.3-rc2. > > Thanks in advance. > > -daya > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users