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

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


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

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

I added a test project here: https://github.com/flashboss/arquillian-rules

But strangely it works different by I signaled. 

There are two tests that shows if the test work server side, one with a rule and one with a simple test.

I will continue to verify if the problem is real

> 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