<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.Attribute | Description | Required |
---|
out | Name of output HTML file. | True | xslfile | XSLT file used to generate the report. | True | failonerror | Determines whether task failure stops the build or is just reported. Default is "true." | False | verbose | Task reports detailed build log messages. Default is "false." | False | if | If true then the task will be executed; otherwise skipped. Default is "true." | False | unless | Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false." | False |
Example <nunitreport out="${outputdir}\TestSummaryl"> <fileset> <includes name="${outputdir}\Test-*.xml" /> </fileset> </nunitreport>
|