Some are having trouble running individual tests in main because of the
changes to the build system. You can run a single test case using:

build.sh -Dtest=XXXTestCase one-test

from within the jboss-all/testsuite directory. The XXXTestCase is
the classname of the junit class to run. So, to run the EJBSpecUnitTestCase
use:

testsuite 827>build.sh -Dtest=EJBSpecUnitTestCase one-test
...

To run all tests within a package, use

build.sh -Dtest=package test

from within the jboss-all/testsuite directory. The package is name of
the directory under the org/jboss/test directory that contains the tests
to run. So, to run the unit tests in the org.jboss.test.security package
use:

testsuite 827>build.sh -Dtest=security test

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to