sbailliez    01/12/09 05:40:18

  Modified:    docs/manual/OptionalTasks junit.html
  Log:
  Documentation patch from Scott Stirling <[EMAIL PROTECTED]>
  about stack filtering.
  
  Revision  Changes    Path
  1.9       +30 -1     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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- junit.html        2001/10/14 03:49:07     1.8
  +++ junit.html        2001/12/09 13:40:18     1.9
  @@ -61,6 +61,11 @@
       <td align="center" valign="top">No.</td>
   </tr>
     <tr>
  +    <td valign="top">filtertrace</td> 
  +    <td valign="top">Filter out junit and ant stack frames from error and 
failure stack traces.</td> 
  +    <td align="center" valign="top">No, default is "on."</td>
  +  </tr>
  +  <tr>
       <td valign="top">timeout</td> 
       <td valign="top">Cancel the individual tests if the don't finish
         in the given time (measured in milliseconds).  Ignored if fork is
  @@ -221,6 +226,12 @@
       <td align="center" valign="top">No.</td>
   </tr>
     <tr>
  +    <td valign="top">filtertrace</td> 
  +    <td valign="top">Filter out junit and ant stack frames from error and 
failure stack 
  +    traces.  Overrides value set in &lt;junit&gt;</td> 
  +    <td align="center" valign="top">No, default is "on."</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>
  @@ -296,6 +307,12 @@
       <td align="center" valign="top">No.</td>
   </tr>
     <tr>
  +    <td valign="top">filtertrace</td> 
  +    <td valign="top">Filter out junit and ant stack frames from error and 
failure stack 
  +    traces.  Overrides value set in &lt;junit&gt;</td> 
  +    <td align="center" valign="top">No, default is "on."</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>
  @@ -371,9 +388,21 @@
   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
  +<p>By using the errorProperty and failureProperty attributes, 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>
   
  +<p>The filtertrace attribute condenses error and failure stack traces before 
reporting them.
  +It works with the plain and xml formatters.  It filters out lines that begin 
with the following 
  +string patterns:<pre>
  +   "junit.framework.TestCase"
  +   "junit.framework.TestResult"
  +   "junit.framework.TestSuite"
  +   "junit.framework.Assert."
  +   "junit.swingui.TestRunner"
  +   "junit.awtui.TestRunner"
  +   "junit.textui.TestRunner"
  +   "java.lang.reflect.Method.invoke("
  +   "org.apache.tools.ant."</pre></p> 
   </body>
   </html>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to