1 Reply Latest reply on Oct 28, 2015 3:18 AM by norsay

    Arquillian test class inheritance

    norsay

      Hi community

       

      I'm setting up a new EJB project and my intention is to use the latest Arquillian version for testing. However it looks like Arquillian is unable to handle inheritance of test classes (it used to work with older version, I'm sure).

      As soon as I'm extending my @RunWith(Arquillian.class) annotated test class with an abstract super class, I'm facing alsways the same error:

       

      Caused by: java.lang.IllegalStateException: Error launching test at http://127.0.0.1:8080/76b0bf2b-779e-455b-9ae6-7b0558d08fed/ArquillianServletRunner?outputMode=serializedObject&className=MyTestClass&methodName=test. Got 500 (Internal Server Error)

        at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.execute(ServletMethodExecutor.java:219)

        at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.executeWithRetry(ServletMethodExecutor.java:121)

        at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.invoke(ServletMethodExecutor.java:99)

        ... 79 more

       

      (The server log does not contain any information indicating an issue. BTW: I'm using Wildfly 8.1.2 embedded)

       

      Anybody facing same issues?

       

      Thanks for any hints :-)

       

      Regards,

      Norsay

        • 1. Re: Arquillian test class inheritance
          norsay

          Problem solved. Looks like an intermediate class was not included in shrinkwrap archive I've created in my tests. However the error message is not very helpful, as there are no further details provided...

           

          Cheers

          1 of 1 people found this helpful