ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/OptionalTasks junit.html
Date Tue, 17 Jul 2001 13:09:48 GMT
bodewig     01/07/17 06:09:48

  Modified:    docs/manual/OptionalTasks junit.html
  Log:
  documentation update for new errorProperty and failureProperty
  attributes of <junit>.
  
  PR: 1794
  Submitted by:	robert.watkins@qsipayments.com (Robert Watkins)
  
  Revision  Changes    Path
  1.6       +39 -0     jakarta-ant/docs/manual/OptionalTasks/junit.html
  
  Index: junit.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/OptionalTasks/junit.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- junit.html	2001/05/22 09:20:10	1.5
  +++ junit.html	2001/07/17 13:09:48	1.6
  @@ -43,12 +43,23 @@
          run.</td>
       <td align="center" valign="top">No, default is "off"</td>
     </tr>
  +<tr>
  +    <td valign="top">errorProperty</td> 
  +    <td valign="top">The name of a property to set in the event of an error.</td>

  +    <td align="center" valign="top">No.</td>
  +</tr>
     <tr>
       <td valign="top">haltonfailure</td> 
       <td valign="top">Stop the build process if a test fails (errors are 
         considered failures as well).</td>
       <td align="center" valign="top">No, default is "off"</td>
     </tr>
  +<tr>
  +    <td valign="top">failureProperty</td> 
  +    <td valign="top">The name of a property to set in the event of a failure
  +      (errors are considered failures as well).</td> 
  +    <td align="center" valign="top">No.</td>
  +</tr>
     <tr>
       <td valign="top">timeout</td> 
       <td valign="top">Cancel the individual tests if the don't finish
  @@ -190,6 +201,12 @@
          run. Overrides value set in <code>&lt;junit&gt;</code>.</td>
       <td align="center" valign="top">No</td>
     </tr>
  +<tr>
  +    <td valign="top">errorProperty</td> 
  +    <td valign="top">The name of a property to set in the event of an error.
  +      Overrides value set in &lt;junit&gt;.</td> 
  +    <td align="center" valign="top">No.</td>
  +</tr>
     <tr>
       <td valign="top">haltonfailure</td> 
       <td valign="top">Stop the build process if a test fails (errors are 
  @@ -197,6 +214,12 @@
         <code>&lt;junit&gt;</code>.</td>
       <td align="center" valign="top">No</td>
     </tr>
  +<tr>
  +    <td valign="top">failureProperty</td> 
  +    <td valign="top">The name of a property to set in the event of a failure
  +      (errors are considered failures as well). Overrides value set in &lt;junit&gt;.</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>
  @@ -253,6 +276,12 @@
          run. Overrides value set in <code>&lt;junit&gt;</code>.</td>
       <td align="center" valign="top">No</td>
     </tr>
  +<tr>
  +    <td valign="top">errorProperty</td> 
  +    <td valign="top">The name of a property to set in the event of an error.
  +      Overrides value set in &lt;junit&gt;.</td> 
  +    <td align="center" valign="top">No.</td>
  +</tr>
     <tr>
       <td valign="top">haltonfailure</td> 
       <td valign="top">Stop the build process if a test fails (errors are 
  @@ -260,6 +289,12 @@
         <code>&lt;junit&gt;</code>.</td>
       <td align="center" valign="top">No</td>
     </tr>
  +<tr>
  +    <td valign="top">failureProperty</td> 
  +    <td valign="top">The name of a property to set in the event of a failure
  +      (errors are considered failures as well). Overrides value set in &lt;junit&gt;</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>
  @@ -335,6 +370,10 @@
   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> and written to <code>${reports.tests}</code>.</p>
  +
  +<p>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.</p>
   
   </body>
   </html>
  
  
  

Mime
View raw message