|
|
@@ -169,6 +169,11 @@ can be specified.</p> |
|
|
|
<code><junit></code>.</td> |
|
|
|
<td align="center" valign="top">No</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td valign="top">todir</td> |
|
|
|
<td valign="top">Directory to write the reports to.</td> |
|
|
|
<td align="center" valign="top">No, default is current directory.</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td valign="top">outfile</td> |
|
|
|
<td valign="top">Base name of the test result. The full filename is |
|
|
@@ -227,6 +232,11 @@ generates a test class name for each file that ends in |
|
|
|
<code><junit></code>.</td> |
|
|
|
<td align="center" valign="top">No</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td valign="top">todir</td> |
|
|
|
<td valign="top">Directory to write the reports to.</td> |
|
|
|
<td align="center" valign="top">No, default is current directory.</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td valign="top">if</td> |
|
|
|
<td valign="top">Only run tests if the named property is set.</td> |
|
|
@@ -278,7 +288,7 @@ stopped if the test fails.</p> |
|
|
|
<formatter type="xml" /> |
|
|
|
</test> |
|
|
|
|
|
|
|
<batchtest fork="yes"> |
|
|
|
<batchtest fork="yes" todir="${reports.tests}"> |
|
|
|
<fileset dir="${src.tests}"> |
|
|
|
<include name="**/*Test*.java" /> |
|
|
|
<exclude name="**/AllTests.java" /< |
|
|
@@ -295,7 +305,7 @@ will be output to <code>result.xml</code>.</p> |
|
|
|
<p>For each matching file in the directory <code>${src.tests}</code> a |
|
|
|
test is run in a separate VM. If a test fails, the build process is |
|
|
|
aborted. Results are collected in files named |
|
|
|
<code>TEST-<em>name</em>.txt</code>.</p> |
|
|
|
<code>TEST-<em>name</em>.txt</code> and written to <code>${reports.tests}</code>.</p> |
|
|
|
|
|
|
|
</body> |
|
|
|
</html> |