transform xml in Nant task
"Christopher L Judd" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
NUnit Users,
I am trying to get Nunit to do an xml transform in an Nant task and
ultimately mail the result out to me. I've got the below tasks working fine
and it is mailing me xml, I just don't know how I can the results of the
transform to a file.
Thanks for your help,
Chris
<target name="test" depends="compile, run-unit-tests, mail"
description="Compile, Run Tests and Email the results" />
<target name="run-unit-tests">
<exec program="nunit-console.exe" basedir="tools\nunit"
workingdir="build\Debug\SystemMonitoring">
<arg value="SystemMonitoring.dll" />
<arg value="/xml:UnitTests.xml" />
<arg value="/transform:Summary.xslt" />
</exec>
</target>
<target name="mail">
<mail
from="[email protected]"
tolist="[email protected]"
mailhost="someserver.com">
<files>
<include name="build\Debug\SystemMonitoring\UnitTests.xml" />
</files>
<attachments>
<include name="build\Debug\SystemMonitoring\UnitTests.xml" />
</attachments>
</mail>
</target>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users