Hot answers tagged exception
1
The EventListener is the way to go. However there is a knack: the UnhandledException will not be fired when an Assertion in your test fails. Rather use the TestFinished event to handle failed tests:
public void TestFinished(TestResult result)
{
if (result.Executed && result.IsFailure)
{
Console.WriteLine(string.Format("Failure in ...
Only top voted, non community-wiki answers of a minimum length are eligible