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

    Details

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jpapouse Jan Papousek
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated: