1 Reply Latest reply on Jan 23, 2014 8:42 AM by javacoryd

    deploying an ear file once


      Hi guys..


      I have an .ear file and I was wondering if it would be possible to create the ear file just once and use it for all tests instead of creating a @deployment method everytime.

      I mean I do not want the container to be started and stopped for each test class. Is it possible

        • 1. Re: deploying an ear file once

          Yes this is possible.  We converted a JBoss 4 suite of 5K+ tests from the microcontainer to JBoss 7 using Arquillian. 


          Add the attached jar to your project. Then go into your arquillian.xml file and add this:


          <extension qualifier="suite">

            <property name="deploymentClass">Name of the class that contains the @Deployment annotated method that builds your ear</property>



          That should be all you need to do.