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

Falko M. (JIRA) jira-events at lists.jboss.org
Fri Sep 27 09:14:02 EDT 2013


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

Falko M. commented on ARQ-286:
------------------------------

PS: In my custom rule I try to retrieve the injected beans but they are null at the time the rule runs (= injection has not been performed yet).
It would be great if that could be addressed as well. It worked that way with Spring 3, btw.
                
> 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: 2.0.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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list