1 Reply Latest reply on Dec 26, 2013 3:08 AM by Robert Panzer

    Debugging problem in Arquillian-Junit test

    arko maity Newbie


      I have designed an arquillian test framework in order to make junit test for our application business logic.I have encountered a problem regarding debugging the unit test code.The debug pointer stops at the static methods but fails to stop in the test methods.I have tried several solutions like updating jdk from 1.6 to 1.7  and added the following jvm arguments "-XX:+UseParallelGC", but it didn't work. I am using junit 4.8.1 , jdk 1.7 & Jboss7.1. Below is the test code:-



          public static WebArchive createDeployment() {


              return ShrinkWrap.create(WebArchive.class, "test.war")


                      .addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml")









                               . . .





          public static Package[] getCorePackages() {

              return new Package[] {




                      . . .







          EntityManager em;



          UserTransaction utx;



          private BusinessDefModule bdf;



          public static void beforeTest(){

              . . .     

              log.info("*-------------Test Started-------------*" +  "\n");




          public void testfetchCustMgmtByCustMaster() {

                      custmanage = bdf.fetchCustMgmtByCustMaster(cust);      




      Thanks in advance for any help.