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

Luca Stancapiano (JIRA) issues at jboss.org
Fri Sep 25 05:38:00 EDT 2015


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

Luca Stancapiano commented on ARQ-286:
--------------------------------------

In the rules.RuleTest, the rules.Container class is instantiate two times, the first client side and the second server side. I presume it is the correct achievement

> 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
>            Assignee: Aslak Knutsen
>             Fix For: 1.1.5.Final
>
>
> 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 was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the arquillian-issues mailing list