OK,


I’ve asked this before, but here I go again:

 

Can anyone tell me how to generate an HTML NUnit report from Nant.

 

I have the following target which does not work:

 

<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}\vor.tests.dll" appconfig="${compile.dir}\vor.tests.dll.config"/>

            </nunit2>

            <loadtasks assembly="C:/nant-0.85-rc3/bin/NAnt.Contrib.Tasks.dll"/>

            <nunit2report format="frames" lang="fr" todir="${nant.project.basedir}">

                                    <fileset>

                                                <include name="vor.tests.dll-results.xml" />

                                    </fileset>

                        </nunit2report>

</target>

 

Can anyone help??


Thanks

 

Paul


_____________________________________________________________________
VirusChecked for Huntsworth plc
_____________________________________________________________________

Reply via email to