, , .
nant nunit ccnet? , :
ccnet nant task, nant build msbuild nunit2 .
ccnet, nant nunit, . ccnet , ? , , , , :
ccnet.config:
<tasks>
<nant>
<baseDirectory>D:\ccnet\builds\checkout\path</baseDirectory>
<buildFile>go.build</buildFile>
<targetList>
<target>test</target>
</targetList>
</nant>
</tasks>
<publishers>
<merge>
<files>
<file>D:\ccnet\builds\artifacts\path1\nant-results.xml</file>
<file>D:\ccnet\builds\checkout\path\name.dll-results.xml</file>
</files>
</merge>
<xmllogger />
</publishers>
go.build:
<target name="build" depends="clean">
<msbuild project="name.sln">
</msbuild>
</target>
<target name="test" depends="build">
<nunit2>
<formatter type="Xml" usefile="false" />
<test assemblyname="Tests\path\name.dll" />
</nunit2>
</target>
, , xml nant, nnit. , ? ...
: ccnet ( usefile = "false" ccnet ). .
I also tried a manual approach, set usefile = "true", and then combined the nant-results.xml and name.dll-results.xml files (without wildcards, just using the exact path to the file, which I have triple checked.)
It just doesn't make any sense.
source
share