Intercepting JUnit Assertion Error
There have been times where I’ve had the need to perform some custom code when a JUnit test failure occurs. A simple way to handle this would be to catch Throwable do you logic and then re-throw the exception. Not the most elegant of solutions.. but works nonetheless. Heres an example using the selenium rc [...]