3 Replies Latest reply on Nov 18, 2011 1:26 PM by George Vagenas

    Problem with observer service

    George Vagenas Newbie

      Based on the Lifecycle extension from showcase, i have an extension that provides @BeforeDeploy.

       

      I register the class that implements LoadbleExtension with org.jboss.arquillian.core.spi.LoadableExtension at the META-INF/services and i can see on debuging that the observer is registered on the extensions.

       

      I am testing with tomcat-embedded-6 and my test case creates a web archive with:

      1. a servlet class
      2. weld-servlet 1.1.2.Final artifact
      3. proper web.xml (defines the servlet and the weld listener)
      4. proper context.xml (defines the BeanManager)
      5. beans.xml

       

      So even though the setup seems ok to me, i have a method in my test case class which is annotated with @BeforeDeploy but is never get called.

       

      Any idea on what could be wrong over here?

       

      Is there documentation for the SPI provided be Arquillian?

       

      Regards

      George