fileset
junitreport collects individual xml files generated by the JUnit task using the nested <FileSet> element.
report
Generate a browsable report based on the document created by the merge.
Parameters
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 |
Example of report
<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.