I don't think one can set conditions in any task as the script and output
below seems to demonstrate. Even though the "setcondition" task sets the
"condition" property to false, the "doit" task still executes. That being
the case it appears that one cannot really do conditional tasks by
dynamical
Title: [Nant-users] Conditional Actions on build failure
Hi again,
If your problem is the following: sending the test results in case of
filure of the test, you could do is the following:
let all your unit test runnen with the "failonerror" false, let the nunit
task
Title: [Nant-users] Conditional Actions on build failure
Hi david,
I think the problem is the following
I dont think you can set properties in the nunit2 task;
fork="true"/>
try cha
#x27;Peter Lanoie'
Subject: RE: [Nant-users] Conditional Actions on build failure
Peter,
This does not seem to work. My actual script was:
What did I miss?
mail tasks...
Peter
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 13:29
To: [EMAIL PROTECTED]
Subject: [Nant-users] Conditional Actions on build failure
Hi,
How do you get NANT to send an EMAIL if an NUnit 2.0
Hi,
How do you get NANT to send an EMAIL if an NUnit 2.0 test fails? I can get
the email task working but I don't know how to make it conditional on the
test failure. Is there a way?
Regards,
David Taylor
Extension: 4496
Email: [EMAIL PROTECTED]
Mobile: +44 7966 490138
---