[arquillian-issues] [JBoss JIRA] (ARQ-1018) Remote extensions are not loaded when the deployment method is inside the test annotated by @RunAsClient annotation

Jan Papousek (JIRA) jira-events at lists.jboss.org
Tue Jul 3 07:48:12 EDT 2012


Jan Papousek created ARQ-1018:
---------------------------------

             Summary: Remote extensions are not loaded when the deployment method is inside the test annotated by @RunAsClient annotation
                 Key: ARQ-1018
                 URL: https://issues.jboss.org/browse/ARQ-1018
             Project: Arquillian
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Base Implementation
    Affects Versions: 1.0.1.Final
            Reporter: Jan Papousek


*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):

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

}
{code}

*Problem*

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

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