DevEJB3RunningUnitTests

    DevEJB3RunningUnitTests

     

    Note: This discusses the integration tests in the $EJB3_HOME/testsuite module. Various other modules have testsuites that are executing via the maven build process.

     

    Tests

     

    • Full TestSuite (No AS Running)

      • cd $EJB3_HOME/testsuite; $ANT_HOME/bin/ant -f build-test.xml tests

     

    • EJB Tests

      • Start AS Manually

        • cd $JBOSS_HOME/bin; ./run.sh -c all

      • Run Tests

      • cd $EJB3_HOME/testsuite; $ANT_HOME/bin/ant -f build-test.xml no-start-jboss-ejb-tests

     

    • Single Test

      • Start AS Manually

        • cd $JBOSS_HOME/bin; ./run.sh -c all

      • Run Test

        • cd $EJB3_HOME/testsuite; $ANT_HOME/bin/ant -f build-test.xml one-test -Dtest=testName

      • Single Test Names follow the convention org.jboss.ejb3.test.[TestName|testName].

     

     

     

     

    Expand Here, this is a stub

     

    Referenced by: