I've looked through the archives, but I'm still confused.  I am trying to determine whether any tests failed with the NUnit2 task.  I don't really want to use failonerror="true", because I'm also using the nuit2report task for generating a report, and the NUnit2 task will not generate the XML output file wen an error occurs.

Currently I'm trying to use the nant.onsuccess and nant.onfailure properties to specify targets that get run for success and failure.  If there are any nUnit errors, I would like the build to fail, so that I can package the NUnit results and the build log up in an email for notification.

Are there any properties set within the NUnit2 task that will indicate that there were tests that failed?  Is there any way to determine this without failonerror?

Thanks,
Tim Dallmann


Let the new MSN Premium Internet Software make the most of your high-speed experience. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to