title: Handle any error in NUnit
body: <p>I have got a standard NUnit unit test. </p>
  
  <pre><code>    [TestFixture]
      public class MyTest
      {
          [SetUp]
          public virtual void Setup()
          {   
          }
  
          [TearDown]
          public void CleanUp()
          {
          }
  
          [Test]
          public void Test01()
          {
              Assert.AreEqual(10, 10);
          }
  
          [Test]
          public void Test02()
          {
              Assert.AreEqual(4, 1);
          }
  
          [Test]
          public void Test03()
          {
              Assert.AreEqual(1, 51);
          }
  
          //......a huge amount of Tests
          [Test]
          public void TestN()
          {
              Assert.AreEqual(1, 1);
          }
   }
  </code></pre>
  
  <p>As you see, there are a lot of tests here. What I need to do is to handle any error in each test and to get the information about the error <strong>without</strong> modifying the body of a test method.</p>
  
  <p>So in <code>JUnit</code> there is an interface called <code>TestListener</code> which allows to handle any test error, see the error message, see the name of the test,  etc.</p>
  
  <p>I didn't find something similar in <code>NUnit</code>. Does it exist? Or is there is a way to do it?</p>