[arquillian-issues] [JBoss JIRA] Commented: (ARQ-55) TestNG @Test(dependsOnMethods="") does not work when running inside the container

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Sun Mar 20 07:00:45 EDT 2011


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

Aslak Knutsen commented on ARQ-55:
----------------------------------

We might be able to rewrite the @Test annotation incontainer using the IAnnotationTransformer interface

> TestNG @Test(dependsOnMethods="") does not work when running inside the container
> ---------------------------------------------------------------------------------
>
>                 Key: ARQ-55
>                 URL: https://issues.jboss.org/browse/ARQ-55
>             Project: Arquillian
>          Issue Type: Bug
>          Components: Test Harness Integration
>            Reporter: Aslak Knutsen
>             Fix For: 1.1.0.CR1
>
>
> "methodX is not allowed to depend on methodY"
> The way Arquillian invokes the remote container it creates a new 'suite' pr TestCase pr test method. Since only one test method is invoked pr suite, TestNGs dependsOnMethods fail.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list