ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/util DOMElementWriter.java
Date Fri, 02 Feb 2001 17:11:19 GMT
This adds a new task <junitreport>. This task requires JAXP 1.1.

When invoked like this

<junit ..>
  <formatter type="xml" usefile="true"/>
  <batchtest todir="xml-reports">
    <fileset ... />
  </batchtest>
  <test todir="xml-reports" ... />
</junit>

<junitreport tofile="all.xml">
   <fileset dir="xml-reports" />
</junitreport>

it will simply collect all XML output into a single file named
all.xml.

Using

<junitreport tofile="all.xml">
   <fileset dir="xml-reports" />
   <report format="frames"  todir="frames"/>
</junitreport>

will create a nice framed testreport, same for format="noframes".

I'll leave the full documentation to Stephane and will try to get to
bed soon as I've caught a bad cold.

Stefan

Mime
View raw message