[arquillian-issues] [JBoss JIRA] (ARQ-286) Should support JUnit @Rules

Davide D'Alto (Commented) (JIRA) jira-events at lists.jboss.org
Fri Oct 14 19:59:16 EDT 2011


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

Davide D'Alto commented on ARQ-286:
-----------------------------------

Hi,
I would like to take a look at this issue. In the end the behavior for the @Rule annotation should be the same as for @Before/@After (execute the rule only on the container if we are in Client mode). Is that correct?
                
> Should support JUnit @Rules
> ---------------------------
>
>                 Key: ARQ-286
>                 URL: https://issues.jboss.org/browse/ARQ-286
>             Project: Arquillian
>          Issue Type: Feature Request
>          Components: Test Harness Integration
>            Reporter: Aslak Knutsen
>             Fix For: 1.1.0.CR1
>
>
> Using the JUnit feature @Rule becomes a problem when running against Remote servers since the @Rule is executed both on the Client and Container side. 
> It works fine in Embedded Containers since the Test is executed in the same VM, but if the Rule is dependent on Container features, the @Test will fail.

--
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