You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2011/01/12 16:06:58 UTC
[jira] Closed: (SUREFIRE-542) JUnit 4.4 tests skipped for a failed
assumption are not reported as "Skipped"
[ http://jira.codehaus.org/browse/SUREFIRE-542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Rosenvold closed SUREFIRE-542.
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.7.2
Assignee: Kristian Rosenvold
Fixed in r1058166
> JUnit 4.4 tests skipped for a failed assumption are not reported as "Skipped"
> -----------------------------------------------------------------------------
>
> Key: SUREFIRE-542
> URL: http://jira.codehaus.org/browse/SUREFIRE-542
> Project: Maven Surefire
> Issue Type: Bug
> Components: Junit 4.x support
> Affects Versions: 2.4.3
> Environment: 64 bit Ubuntu 8.10, OpenJDK 6
> Reporter: Karl M. Davis
> Assignee: Kristian Rosenvold
> Priority: Minor
> Fix For: 2.7.2
>
> Attachments: SUREFIRE-542.patch
>
>
> 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].
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira