Beruflich Dokumente
Kultur Dokumente
1. Download Nant from http://nant.sourceforge.net/ 2. Configure Nant by setting the Environment Variable path=C:\Program Files\nant-0.91-alpha1\bin; 3. Download last release from http://sourceforge.net/projects/nunit2report/. Copy from the bin download directory the files :
Usage
1. Open Command promt and change directory to NUnit2Report directory 2. Create a build xml file like as follows
<?xml version=1.0 encoding=ISO-8859-1 ?> <project name=Frontiers Automation System default=nunitreport basedir=.> <! Init Nant properties > <tstamp property=build.date pattern=dd-MM-yyyy verbose=true/> <sysinfo/> <target name=nunitreport> <! Example 1 > <! By default the report is in english and format is noframes, out file is index.htm opendesc=yes> <nunit2report out=HTML_TestResults.html> <fileset> <includes name=NUnitTestResult.xml /> </fileset>
Limitation
1. No support for mutiple Nunit results file xml in input (only one file in the fileset is supported). 2. No support for mutiple C# XML Comment file in input (only one file in the summaries is supported). 3. NAnt on Windows Server 2008 64-bit with .NET 3.5 doesn't work