What version of NAnt are you on - 0.85rc3? I had to tweak the source for
nunit2report and recompile before it would work on the newer NAnt builds.
Paul Cowan wrote:
Hi,
I simply cannot get nunit2report to work, and I cannot get find out why.
Does anyone have a working example or any idea what the *?..* is going on??
Below is my target:
<target name="runUnitTests" description="Runs unit tests on specified dlls">
<echo message="Before running tests"/>
<nunit2 failonerror="false" verbose="true">
<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="en"
todir="${nant.project.basedir}">
<fileset>
<include name="vor.tests.dll-results.xml" />
</fileset>
</nunit2report>
</target>
Thanks
Paul
_____________________________________________________________________
VirusChecked for the Incepta Group plc
_____________________________________________________________________
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users