Hello,

Did you keep your xsl and config file when upgrading?
If you want to have the nunit result in the dashboard page you must have the
<xslFile>xsl\unittests.xsl</xslFile> line in your dashboard.config xsl
section. If not, write it and restart IIS.

It could be a lot to cleaner to use the nunit task instead of exec and file
publisher.

<nunit>
       <path>C:\Program Files\NUnit
2.5.7\bin\net-2.0\nunit-console.exe</path>
       <assemblies>
           <assembly>$(PathToYourAssembly)</assembly>
       </assemblies>
</nunit>

and no merge int the publishers section.

Hope this helps,
Benjamin Baumann

2010/8/13 Kristof <[email protected]>

> Does anyone have any ideas of things I could try to get my nunit test
> results to show again?
>
> Thanks in advance,
> Kris
>
> On Jul 27, 8:22 pm, Kristof <[email protected]> wrote:
> > Hello everyone,
> >
> > After upgrading to Cruise Control 1.5 I my NUnit results do not seem
> > to be showing up on my Project Report.  (Link below is just an example
> > to indicate the page in question):
> http://MyServer/ccnet/server/local/project/POS/build/log2010072719592...
> >
> > When viewing the Build Log I see the results of the unit tests (in the
> > expected XML format) at the bottom of the Build Log page.  (Link below
> > is just an example to indicate the page in question):
> >
> > http://MyServer/ccnet/server/local/project/POS/build/log2010072719592...
> >
> > I have confirmed that the XML output file is being generated in the
> > appropriate folder and I believe I have both my FileMergeTaskPublisher
> > and XMLLogPublisher created appropriately.
> >
> > Here is a few screencaps of my setup:
> >
> > http://screencast.com/t/NzI3YmVmNjkhttp://screencast.com/t/NWE1ZjI0
> >
> > Here is the section of my config file for the offending project:
> >
> > <project name="POS">
> >     <webURL>http://MyServer/ccnet/server/local/project/POS/
> > ViewProjectReport.aspx</webURL>
> >     <modificationDelaySeconds>10</modificationDelaySeconds>
> >     <sourcecontrol type="svn">
> >       <trunkUrl>SomeUrlForOurSource</trunkUrl>
> >       <workingDirectory>C:\CruiseControl\POS\</workingDirectory>
> >       <executable>C:\Program Files\VisualSVN Server\bin\svn.exe</
> > executable>
> >       <username>SomeUserName</username>
> >       <password>SomePassword</password>
> >       <autoGetSource>True</autoGetSource>
> >       <tagOnSuccess>False</tagOnSuccess>
> >     </sourcecontrol>
> >     <triggers>
> >       <intervalTrigger seconds="720" buildCondition="ForceBuild" />
> >     </triggers>
> >     <tasks>
> >       <nant>
> >         <executable>C:\CruiseControl\tools\nant\bin\NAnt.exe</
> > executable>
> >         <baseDirectory>C:\CruiseControl\POS</baseDirectory>
> >         <buildFile>pos.build</buildFile>
> >       </nant>
> >       <exec executable="C:\CruiseControl\Tools\nunit\bin\nunit-
> > console.exe">
> >         <buildArgs>"C:\CruiseControl\POS\PosTests.nunit" -xml="C:
> > \CruiseControl\Results\NunitResults.xml"</buildArgs>
> >         <buildTimeoutSeconds>320</buildTimeoutSeconds>
> >       </exec>
> >     </tasks>
> >     <publishers>
> >       <merge>
> >         <files>
> >           <file>C:\CruiseControl\Results\NunitResults.xml</file>
> >         </files>
> >       </merge>
> >       <xmllogger />
> >     </publishers>
> >   </project>
> >
> > Can anyone tell me what I'm doing wrong?  This exact configuration
> > worked pre 1.5 version.
>

Reply via email to