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

Filter TestClass based on @OperatesOnDeployment during deploy

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.0.0.CR1
    • 1.0.0.CR7
    • Base Implementation
    • None

      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?

              Unassigned Unassigned
              aslak@redhat.com Aslak Knutsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated: