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

Remote extensions are not loaded when the deployment method is inside the test class annotated by @RunAsClient annotation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 2.0.0.Beta1
    • 1.0.1.Final
    • Base Implementation
    • None

    Description

      Use Case

      I want to test web application and use Arquillian Jacoco Extension to get code coverage.

      I have abstract test class of the following pattern (all tests extend this abstract class):

      @RunAsClient
      public abstract class AbstractTest extends Arquillian {
          @Deployment
          public static WebArchive createTestArchive() {
              ...
          }   
        
          ...
      
      }
      

      Problem

      Because of the @RunAsClient annotation, the RemoteExtensionLoader is not called, so JacocoRemoteExtension is not loaded.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jpapouse Jan Papousek (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: