diff --git a/docs/manual/OptionalTasks/junit.html b/docs/manual/OptionalTasks/junit.html index d2ec6fd13..97e3e1496 100644 --- a/docs/manual/OptionalTasks/junit.html +++ b/docs/manual/OptionalTasks/junit.html @@ -43,12 +43,23 @@ elements.

run. No, default is "off" + + errorProperty + The name of a property to set in the event of an error. + No. + haltonfailure Stop the build process if a test fails (errors are considered failures as well). No, default is "off" + + failureProperty + The name of a property to set in the event of a failure + (errors are considered failures as well). + No. + timeout Cancel the individual tests if the don't finish @@ -190,6 +201,12 @@ can be specified.

run. Overrides value set in <junit>. No + + errorProperty + The name of a property to set in the event of an error. + Overrides value set in <junit>. + No. + haltonfailure Stop the build process if a test fails (errors are @@ -197,6 +214,12 @@ can be specified.

<junit>. No + + failureProperty + The name of a property to set in the event of a failure + (errors are considered failures as well). Overrides value set in <junit>. + No. + todir Directory to write the reports to. @@ -253,6 +276,12 @@ generates a test class name for each file that ends in run. Overrides value set in <junit>. No + + errorProperty + The name of a property to set in the event of an error. + Overrides value set in <junit>. + No. + haltonfailure Stop the build process if a test fails (errors are @@ -260,6 +289,12 @@ generates a test class name for each file that ends in <junit>. No + + failureProperty + The name of a property to set in the event of a failure + (errors are considered failures as well). Overrides value set in <junit> + No. + todir Directory to write the reports to. @@ -336,5 +371,9 @@ 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 and written to ${reports.tests}.

+

By using the errorProperty and failureProperty tags, it is possible to +perform setup work (such as starting an external server), execute the test, +clean up, and still fail the build in the event of a failure.

+