How can I react of Nunit - test failures?

Hi there,

I don't want to use the OnFailure Script, because I want that my scripts continue with run (if there is a failure in the Nunittests). How can I react of these Nunit - Tests failures? I must know that there is a failure (because I want to send a email, if a test has some failures).

Thanks a lot for your help.

Regards, Patrick

Hi Patrick

You can wrap the NUnit test actions in a try catch block, so you can handle the failures in the catch block and then the build can continue.

Hi Vincent,

Thanks a lot for your help.

Regards, Patrick