[ 
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

        

Reply via email to