2 Replies Latest reply on Jan 24, 2007 1:14 AM by ambika

    How do i run a single test using in the testsuite?

    ambika

      Hi,
      I am trying to analyse the failures/errors while runing th testsuite. Can i run a single test from the testsuite. For me following test is failing. I am runing testsuite on hpux platform.

      org.jboss.test.cmp2.commerce.CompleteUnitTestCase(JACC+SecurityMgr)


      Is it possible to run this test only? If yes, how that is possible?

      Thanks and Regards,
      Ambika

        • 1. Re: How do i run a single test using in the testsuite?
          jaroslaw.kijanowski

          start your AS:
          ./run.sh -c jacc-securitymgr -b localhost

          run a single test:
          ./build.sh one-test -Dtest=org.jboss.test.cmp2.commerce.CompleteUnitTestCase

          What are your AS and java versions?

          Thanks,
          Jarek

          • 2. Re: How do i run a single test using in the testsuite?
            ambika

            hi jarek,

            Following are the versions.

            1) Jboss AS : 4.0.5GA
            2) Java 1.4

            << ./run.sh -c jacc-securitymgr -b localhost
            Its failed to run beacuse
            Failed to boot JBoss:
            org.jboss.deployment.DeploymentException: url file:/opt/jboss-4.0.5.GA/server/jacc-securitymgr/conf/jboss-service.xml could not be opened, does it exist?
            -It doesnot exists , we need to copy that file from somewhere else?
            I am new to jboss, please can you help me regarding this error.


            Thanks,
            Ambika