Ioana, You can just use the <nunit2> task to run your using tests, and set up the MailLogger to send a email when the build fails.
Hope this helps, Gert ----- Original Message ----- From: "Ioana Goga" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 16, 2004 11:13 AM Subject: [Nant-users] How can Nant e-mail test owners if the test fails in NUnit2? > Hello, > > > > I am using NAnt to run some units tests developed in .Net. > > I save the results in .xml format. I know I can send mail from Nant, and > > I can attach the entire results file. > > > > What I want is some C# code or a script to parse the .xml results file and > to check > > if a test fails and to send e-mail only to the owner of the test and only if > the test fails. > > > > Are there any tasks in NAnt that can do this? Or can I call a task from > NUnit which can do this? > > Does anyone have some C# code to parse the .xml file and get this > information? > > > > And finally, what do you do with the results of NUnits when these are run > from NAnt? > > > > Thank you very much, > > Ioana Goga > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003 > > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users