From a2ba0e964fa399329ac1dedccc681b2696a8755c Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Tue, 19 Dec 2000 12:07:58 +0000 Subject: [PATCH] Updated JUnit documentation to reflect the new todir attribute. Submitted by: Stephane Bailliez git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268377 13f79535-47bb-0310-9956-ffa450edef68 --- docs/junit.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/junit.html b/docs/junit.html index 7445c9384..d1512a5f3 100644 --- a/docs/junit.html +++ b/docs/junit.html @@ -169,6 +169,11 @@ can be specified.

<junit>. No + + todir + Directory to write the reports to. + No, default is current directory. + outfile 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 <junit>. No + + todir + Directory to write the reports to. + No, default is current directory. + if Only run tests if the named property is set. @@ -278,7 +288,7 @@ stopped if the test fails.

<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 result.xml.

For each matching file in the directory ${src.tests} a test is run in a separate VM. If a test fails, the build process is aborted. Results are collected in files named -TEST-name.txt.

+TEST-name.txt and written to ${reports.tests}.