Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-734

Filter TestClass based on @OperatesOnDeployment during deploy

    Details

    • Similar Issues:
      Show 10 results 

      Description

      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?

        Gliffy Diagrams

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                Unassigned
                Reporter:
                aslak Aslak Knutsen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Development