By default, the test suite tests all the available test cases on all
the available communication protocol.
However, you may need to be interested by only passing several times
the same test while modifying JOTM until the test pass and then
passing all the other tests.
Unfortunately, for the moment, there are no convenient way to do
so...
The only way to customize test run is to modify the
jotm_tests.xml Ant file in the conform directory.
You can customize two things in this file:
<target name="run.generic.tests"> ... <junit ...> ... <batchtest fork="yes" todir="${test.dist.reports}/${protocol.name}"> <fileset dir="${test.src}"> <!-- test only remote client test case --> <!-- <include name="org/objectweb/jotm/jtests/conform/LocalTestCase.java"/> <include name="org/objectweb/jotm/jtests/conform/ClientTestCase.java"/> --> <include name="org/objectweb/jotm/jtests/conform/RemoteTestCase.java"/> </fileset> </batchtest> </junit> ...In that example, only the remote test case will be run.
... <target name="run.tests"> <condition property="interceptor.classes.presents"> <available classname="org.omg.PortableInterceptor.ORBInitInfo"> <classpath refid="test.classpath"/> <classpath refid="test.iiop.classpath"/> </available> </condition> <!-- test only on RMI/IIOP --> <!-- <antcall target="run.jrmp.tests"/> --> <antcall target="run.iiop.tests"/> </target> ...In that example, tests will be run only on RMI/IIOP.
For more information on Commons Logging and Log4J, see Commons Logging Javadoc and Log4J documentation.