Whenever an NUnit test fails during its execution (i.e. not when using Assert.*
), I want to log additional information (I'm writing web tests and I am especially interested in the web page's current DOM).
How to specify a global exception handler in NUnit which is able to log additional information on NoSuchElementException
s - test should still fail of course.