kaz 02/03/18 08:15:22
Modified: xdocs build-file.xml
Log:
Added the appropriate documentation for the 'run-singletest' target. I
don't know why I didn't add this with my last commit (sorry for the
noise).
Revision Changes Path
1.14 +24 -0 jakarta-turbine-maven/xdocs/build-file.xml
Index: build-file.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/xdocs/build-file.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- build-file.xml 18 Mar 2002 16:06:58 -0000 1.13
+++ build-file.xml 18 Mar 2002 16:15:21 -0000 1.14
@@ -518,6 +518,10 @@
<td><a href="#maven:test">maven:test</a></td>
<td>Execute all the unit tests and run-time tests.</td>
</tr>
+ <tr>
+ <td><a href="#maven:run-singletest">maven:run-singletest</a></td>
+ <td>Execute a single unit test.</td>
+ </tr>
</table>
<p/>
<subsection name="maven:test">
@@ -535,6 +539,26 @@
</p>
<p>
The results of the tests are placed in the
+ <code>test-reports</code> directory relative to the base
+ directory of the project. If this directory does not exist,
+ it is created. In addition, an HTML report is generated when
+ the <code>docs</code> target is invoked.
+ </p>
+ </subsection>
+ <subsection name="maven:run-singletest">
+ <p>
+ The <code>maven:run-singletest</code> target executes a single unit test
+ (JUnit) of the project. First, the source
+ for all of the tests is compiled. The location of the test
+ source code is determined from the
+ <a
href="project-descriptor.html#testSourceDirectories"><code>testSourceDirectories</code></a>
+ element of the Maven project descriptor. The specific unit
+ test to invoke must be specified via the <code>testcase</code>
+ system property . From the Ant command-line, you can specify
+ this property using the <code>-Dtestcase=unit.test.to.run</code>.
+ </p>
+ <p>
+ The results of the test are placed in the
<code>test-reports</code> directory relative to the base
directory of the project. If this directory does not exist,
it is created. In addition, an HTML report is generated when
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>