[arquillian-issues] [JBoss JIRA] (ARQ-734) Filter TestClass based on @OperatesOnDeployment during deploy

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Thu Feb 2 10:28:48 EST 2012


Aslak Knutsen created ARQ-734:
---------------------------------

             Summary: Filter TestClass based on @OperatesOnDeployment during deploy
                 Key: ARQ-734
                 URL: https://issues.jboss.org/browse/ARQ-734
             Project: Arquillian
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Base Implementation
    Affects Versions: 1.0.0.CR7
            Reporter: Aslak Knutsen


When using Multiple incontainer Deployments with different Content in combination with @OperatesOnDeployment @Tests might fail due to CNFE. 

CNFE is thrown by the Container because the TestClass is refers to Classes from the 'other' deployment and can't be loaded, even tho they are not executed.

Arquillian should Filter and Rewrite the TestClass before it is deployed so only the @Test methods that are targeted to a specific Deployment are visible runtime.



Note:
javaassist is a very common lib and version conflicts are easy to occur. Shard javassist under a org.jboss.arq namespace?

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