Is there any way I can get the test result in the teardown (@After) method? I\'d like to do clean up after the tests depending on the result.
@After
Could not
If there is no standard possibility (I'm pretty sure there was no possibility in JUnit 3.x), you can just
write a Listener,
push the Listener-events to a static Collection,
and gather them from your @After- Method.