Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.4.3
-
None
-
64 bit Ubuntu 8.10, OpenJDK 6
Description
Junit 4.4 has support for ignoring tests at runtime via code like the following:
Assume.assumeTrue(testsShouldBeRun());
When running tests under Surefire that fail their assumptions, the tests are reported as successful-- not ignored as they ought to be. The javadoc for the Assume class is here: http://junit.org/apidocs/org/junit/Assume.html.