<nunitreport>
A task that generates a summary HTML
from a set of NUnit xml report files.
Loosely based on Erik Hatcher JUnitReport for Ant.
This task can generate a combined HTML report out of a
set of NUnit result files generated using the
XML Result Formatter.
By default, NUnitReport will generate the combined
report using the NUnitSummary.xsl file located at the
assembly's location, but you can specify a different
XSLT template to use with the xslfile
attribute.
Also, 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.
Parameters
Attribute | Type | Description | Required |
---|
out | string |
Name of Output HTML file.
| True |
xslfile | string |
XSLT file used to generate the report.
| False |
failonerror | bool | | False |
if | bool | | False |
unless | bool | | False |
verbose | bool | | False |
Nested Elements:
<fileset>
Set of XML files to use as input
</fileset>
Examples
<nunitreport
out="${outputdir}\TestSummary.html"
>
<fileset>
<includes name="${outputdir}\Test-*.xml" />
</fileset>
</nunitreport>