NAntContrib Help Task Reference <nunit2report> | v0.92-rc1 |
[This is preliminary documentation and subject to change.]
A task that generates a summary HTML from a set of NUnit xml report files.
This task can generate a combined HTML report out of a set of NUnit result files generated using the XML Result Formatter.
All the properties defined in the current project will be passed down to the XSLT file as template parameters, so you can access properties such as nant.project.name, nant.version, etc.
Attribute | Type | Description | Required |
---|---|---|---|
format | ReportFormat | The format of the generated report. The default is NoFrames . |
False |
lang | string | The output language. | False |
opendesc | string | Open all description method. Default to "false". | False |
todir | directory | The directory where the files resulting from the transformation should be written to. The default is the project's base directory. | False |
xslfile | file | XSLT file used to generate the report if format is NoFrames . |
False |
failonerror | bool | Determines if task failure stops the build, or is just reported. The default is true. | False |
if | bool | If true then the task will be executed; otherwise, skipped. The default is true. | False |
unless | bool | Opposite of if . If false then the task will be executed; otherwise, skipped. The default is false. |
False |
verbose | bool | Determines whether the task should report detailed build log messages. The default is false. | False |
<nunit2report todir="${outputdir}"> <fileset> <includes name="${outputdir}\results.xml" /> </fileset> </nunit2report>