I got it working. It was the xsl files.  I followed a post on it.

http://weblogs.asp.net/astopford/archive/2007/07/04/adding-mbunit-to-ccnet.aspx

After trying it both ways earlier and it not working I posted here.
After you mentioned re-checking this it triggered what it actually
does and I realized I needed to change both ccnet.exe.config and
ccnetservice.exe.config while testing I use ccnet.exe and never
changed it. Once I changed that config it worked.

Thanks a lot.

On Dec 29, 2:03 pm, "Ruben Willems" <[email protected]> wrote:
> Hi
>
> if your sure that the mbunit results are merged into a build result,
> you must tell CCNet to use a correct xsl file.
>
> first you must have such an xsl file, i think mbunit has one somewhere in
> its folders.
> (you may tweak this file, or search the net for others)
> Copy this file to the dashboard\xsl folder
>
> For the dashboard using this file, means editing the dashboard.config file.
> In the buildplugins section, add a line <xslFile>xsl\mbunit.xsl</xslFile>
> or whatever the filename may be.
>
> now it is advised to do iisreset, restart your ccnet service/console, and
> clear your browser cache,
> just to be sure, you will use the new config.
>
> this should show you the mbunit result
>
> with kind regards
> Ruben Willems
>
>
>
> On Mon, Dec 29, 2008 at 8:44 PM, Buddy Lindsey <[email protected]> wrote:
>
> > I have tried a number of things to get mbunit to work and run in
> > cc.net.  The way I originally tried and reconfigured exactly how a
> > tutorial told me was using and MS Build Task.
>
> > It does output an xml document to my artifacts folder and does seem to
> > merge that folder.  However when i view the report for the build it
> > says project has no unit tests. But when I go to view the "View Build
> > Log" i can read in there that it has run the tests and they were
> > successful.
>
> > I am wanting them to show like they are supposed to and in some
> > article it said if I had the problem I should e-mail here. so...
> > please help me.  Been working on this single issue for probably 10
> > hours now.
>
> > As a point of reference I am on day two of using CC.NET.  So first
> > time using it.
>
> > Not sure what info you need so just ask please.
>
> > Thanks.- Hide quoted text -
>
> - Show quoted text -

Reply via email to