QuickBuild Documentation
|
To publish NUnit report, you only need two steps:
Generate NUnit ReportQuickBuild will NOT generate NUnit report automatically, so first make sure the NUnit report is produced by NANT or by any other build tool. The following example shows how to generate NUnit XML report with NAnt task: NUnit target in build.xml <target name="runUnitTests" description="Runs unit tests on specified dlls"> <echo message="Before running tests"/> <nunit2 failonerror="false" verbose="false"> <formatter outputdir="${nant.project.basedir}" usefile="true" type="Xml" extension=".xml"/> <test assemblyname="${compile.dir}\foo.bar.dll" appconfig="${compile.dir}\foo.bar.dll.config"/> </nunit2> </target> After adding the target, you can generate the NUnit report for your source code, and then you can tell QuickBuild to publish the results. Publish NUnit ReportAdd Publish NUnit Report step to your build workflow. If you have several report sets, you can add several steps with different report set names. Reference this page for more details. |