0 Replies Latest reply on Aug 2, 2013 7:22 AM by vaibhavc4

    Strategy to run EJB units tests

    vaibhavc4

      What should be the strategy to run Junits on the application that has two different ejb modules under same EAR.

       

      I have two modules in the Enterprise archive.

      Module 1 - is a common uitlities code used by module 2. It contain singleton EJB's and other EJB's.

      Module 2 - is the specific code which uses module 1 code

       

      I tried to create archive for the module 1 and deploy it using arquillian, it creates jar but does nothing after that. it doesnt display any error in the log, so I am unable to determine whats going wrong. The only logs I see is Server start up log and after that System.out statement that I print in the createDeployment method.

       

      I can one file getting created under standalone/data/content folder, but it doensnt get deployed. I dont see anything new under deployments folder.

       

      Any idea whats going wrong here.

       

      What should be the strategy to run Junits on the application that has two different ejb modules under same EAR ? Are there any steps which I should be following ?

       

      I am using the correct dependencies as specified on the Jboss.org for the Jbsos managed AS 7.1.3.