Testing

To execute Java WS Core tests first ensure Ant is configured with JUnit (To install JUnit with Ant copy the junit.jar found in the JUnit distribution to the $ANT_HOME/lib directory).

To execute the test do the following:

  1. Start the standalone container with -nosec argument:

     $ cd $GLOBUS_LOCATION $ bin/globus-start-container -nosec

  2. Run the interoperability tests:

     $ ant -f share/globus_wsrf_test/runtests.xml
                runServer \ -Dtests.jar=$GLOBUS_LOCATION/lib/wsrf_test_interop.jar

  3. Run the unit tests:

     $ ant -f share/globus_wsrf_test/runtests.xml runServer \
                -Dtests.jar=$GLOBUS_LOCATION/lib/wsrf_test_unit.jar -DbasicTestsOnly=true

  4. If some tests failed examine the test results in the $GLOBUS_LOCATION/share/globus_wsrf_test/tests/test-reports/ directory.

Please see the developer guide for more information on running the tests and the testing infrastructure.