[jboss-cvs] JBossAS SVN: r97511 - projects/jboss-jca/trunk/doc/developerguide/en/modules.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Dec 7 11:21:44 EST 2009


Author: jesper.pedersen
Date: 2009-12-07 11:21:43 -0500 (Mon, 07 Dec 2009)
New Revision: 97511

Modified:
   projects/jboss-jca/trunk/doc/developerguide/en/modules/testing.xml
Log:
Document how to run the test suite using test and one-test

Modified: projects/jboss-jca/trunk/doc/developerguide/en/modules/testing.xml
===================================================================
--- projects/jboss-jca/trunk/doc/developerguide/en/modules/testing.xml	2009-12-07 16:09:43 UTC (rev 97510)
+++ projects/jboss-jca/trunk/doc/developerguide/en/modules/testing.xml	2009-12-07 16:21:43 UTC (rev 97511)
@@ -7,6 +7,21 @@
     <para>The overall goals of our test environment is to execute tests that ensures that
     we have full coverage of the JCA specification as well as our implementation.</para>
 
+    <para>The full test suite is executed using</para>
+
+    <programlisting>
+ant test
+    </programlisting>
+
+    <para>A single test case can be executed using</para>
+
+    <programlisting>
+ant -Dmodule=embedded -Dtest=org.jboss.jca.test.embedded.unit.ShrinkWrapTestCase one-test
+    </programlisting>
+
+    <para>where <code>-Dmodule</code> specifies which module to execute the test case in. This parameter
+      defaults to <code>core</code>. The <code>-Dtest</code> parameter specifies the test case itself.</para>
+
     <section id="spectest">
       <title>Specification</title>
       <para>The purpose of the specification tests is to test our implementation against the




More information about the jboss-cvs-commits mailing list