The task will run with either Xalan 2.x or Xalan 1.2.2.
Note:For a framed format Xalan 1.2.2 will need Xerces(xerces.jar) as well as BSF(bsf.jar) that can be found in the distribution archive. Xerces will need to be before any other parser (such as the shipped crimson). It is *highly* recommended to use Xalan2 instead because Xalan1 is no more supported.
Attribute | Description | Required |
tofile | The name of the XML file that will aggregate all individual XML testsuite previously generated by the JUnit task. | No. Default to TESTS-TestSuites.xml |
todir | The directory where should be written the file resulting from the individual XML testsuite aggregation. | No. Default to current directory |
junitreport
collects individual xml files generated by the JUnit
task using the nested <FileSet>
element.
Generate a browsable report based on the document created by the merge.
Attribute | Description | Required |
format | The format of the generated report. Must be "noframes" or "frames". | No, default to "frames" |
styledir | The directory where the stylesheets are defined. They must
be conforming to the following conventions:
|
No. Default to embedded stylesheets. |
todir | The directory where the files resulting from the transformation should be written to. | No. Default to current directory |
<junitreport todir="./reports"> <fileset dir="./reports"> <include name="TEST-*.xml"/> </fileset> <report format="frames" todir="./report/html"/> </junitreport>
would generate a TESTS-TestSuites.xml file in the directory reports and generate the default framed report in the directory report/html.
Copyright © 2001 Apache Software Foundation. All rights Reserved.