[arquillian-issues] [JBoss JIRA] (ARQ-1012) org.junit.Assume API not working

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Sun Jul 22 12:58:06 EDT 2012


    [ https://issues.jboss.org/browse/ARQ-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707165#comment-12707165 ] 

Aslak Knutsen commented on ARQ-1012:
------------------------------------

Not sure i understand. In my test Assume throws a Exception which is handled by JUnit internals and the test is passed. This is the expected behavior of Assume.
                
> org.junit.Assume API not working
> --------------------------------
>
>                 Key: ARQ-1012
>                 URL: https://issues.jboss.org/browse/ARQ-1012
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Integration Test Suite
>    Affects Versions: 1.0.0.Final
>         Environment: Windows 7, Java 1.7
>            Reporter: Karsten Ohme
>
> Hi,
> my test classes are annotated with @RunWith(Arquillian.class)
> I try to use the newer JUnit org.junit.Assume API.
> The problem ist, that the outcome of the test seems to be ignored, e.g. org.junit.Assume.assertNonNull does not fail and throws an exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list