Hi seems like a correct setup, although I run my call to nunit from within Nant.
if you open the build log file, found in the artifact folder, how many <Nunit> sections do you see? if it is 1, there is an xsl problem somewhere. can you post this file? with kind regards Ruben Willems On Tue, Feb 3, 2009 at 12:47 PM, sam <[email protected]> wrote: > > My Configuration file:- > <cruisecontrol xmlns:cb="urn:ccnet.config.builder"> > <project name="MyITTestProject"> > <sourcecontrol type ="svn"> > <trunkUrl>svn://prime/TestReports/</trunkUrl> > <workingDirectory>C:\abc\Projects\ITTests\MyITTestProject\</ > workingDirectory> > <executable>c:\program files\subversion\bin\svn.exe</executable> > </sourcecontrol> > <triggers> > <scheduleTrigger time="12:05" buildCondition="ForceBuild" > name="Scheduled"> > <weekDays> > <weekDay>Thursday</weekDay> > </weekDays> > </scheduleTrigger> > </triggers> > > <tasks> > <!-- Use MsBuild to build the .Net solution--> > <msbuild> > <executable>C:\WINDOWS\Microsoft.NET\Framework > \v3.5\MSBuild.exe</executable> > <workingDirectory> > C:\abc\Projects\ITTests\MyITTestProject\ > </workingDirectory> > <projectFile>MyITRTestProject.sln</projectFile> > <buildArgs>/noconsolelogger /p:Configuration=Debug /v:diag</ > buildArgs> > <targets>Build</targets> > <timeout>9600</timeout> > <logger>C:\Program Files\CruiseControl.NET\server > \ThoughtWorks.CruiseControl.MsBuild.dll</logger> > </msbuild> > > <!-- Use NUnit for unit testing--> > <nunit path="C:\Program Files\NUnit 2.4.8\bin\nunit-console.exe" > timeout="6000"> > <assemblies> > <!--Path to Visual Studio project executable--> > <assembly> > C:\abc\Projects\ITTests\MyITTestProject\MyITTestProject\bin > \Debug\MyITRTestProject.dll > </assembly> > </assemblies> > </nunit> > </tasks> > > <publishers> > <merge> > <files> > <file>C:\abc\Projects\ITTests\MyITTestProject\MyITTestProject > \bin\Debug\TestResult.xml</file> > </files> > </merge> > <xmllogger/> > </publishers> > </project> > </cruisecontrol> > > > My Nunit result summary shows > NUnit Test Results > Summary > Assemblies tested: 2 > Tests executed: 7 > Passes: 3 > Fails: 4 > Ignored: 0 > > Assembly Test Details: > C:\abc\Projects\ITTests\MyITTestProject\MyITTestProject\bin\Debug > \MyITTestProject.dll > > C:\abc\Projects\ITTests\MyITTestProject\MyITTestProject\bin\Debug > \MyITTestProject.dll > > > In result summary it says Asemblies tested 2 and fails thesecond > rested assembly.. >
