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

Reply via email to