I'm experiencing something weird with my JUnit (4.5) test (IDEA build #9732, JDK 1.6_10).
I have a test class, extending junit.framework.TestCase, that has 2 test methods. One on these tests fail (assertTrue(false);) and test runner output shows the AssertionFailedError, and "Process finished with exit code -1". Still the left panel (test case tree) shows a green OK mark for the test.
But if I run the whole class (i.e. both test methods) or all of my unit tests, it shows the failing method with an exclamation mark (!) as expected.
Any ideas what could be wrong?
I tried to create a test project for this one (because I can't share the actual project here), but it's working as expected.