Hi there, if you are having issues with the <nunit2report/> you could
try just grabbing the xsl and using the <style/> task:
<style style="${nant.location}/NUnit-NoFrame.xsl" in="TestResuls.xml"
out="TestReport.html">
I believe I borrowed the NUnit-NoFrame.xsl from here:
http://nunit2report.sourceforge.net/NUnit2Report.Installation.html.
Cheers,
Clayton
Paul...I hear you. I have run into problems as well. I haven't had the
time to generate a small repo of my problem, but if you do I think
that would help all of us identify the problem. When I try to run it I
get an exception thrown.
Jason
------------------------------------------------------------------------
*From:* [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] *On Behalf Of
*Paul Cowan
*Sent:* Thursday, June 30, 2005 2:04 AM
*To:* nant-users@lists.sourceforge.net
*Subject:* [Nant-users] NUnit reporting
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
_____________________________________________________________________
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users