Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.18.1
-
None
Description
After a test failure (with rerunFailingTestsCount > 0), the JUnit4*Provider.executeWithRerun calls execute again with a list of the failing testMethods, but JUnit4*Provider.execute silently fails to find the requested methods.
When testClass is actually a test suite class, it may not contain any methods at all (other than inherited java.lang.Object methods). The execute method iterates through the java.lang.Object methods, never finds a match for the testMethods, and silently fails to execute anything.