There's no problem at all really.

MbUnit and NUnit use different XSL templates.  In particular if you use
Gallio to run your tests then the Gallio installation includes a package
specifically designed for CCNet.  You can mix and match the XSL templates
however you like.

The trick is to edit your Dashboard.config (a good idea anyways).

Here's an excerpt from the configuration we use on the
http://ccnet.gallio.org build server.  You'll notice that we use different
templates for the MbUnit v3 and MbUnit v2 projects.

The same approach will work NUnit as well (or any other templates for that
matter).

Read up more about Dashboard.config in the CCNet manual.

--<snip>--

                        <xslReportBuildPlugin description="Gallio Test
Report" actionName="GallioTestReport"
xslFileName="gallio\xsl\Gallio-Report.ccnet-details.xsl">
                                <includedProjects>
                                        <projectName>MbUnit v3</projectName>
                                </includedProjects>
                        </xslReportBuildPlugin>
          <xslReportBuildPlugin description="Gallio Test Report (Condensed)"
                                actionName="GallioTestReportCondensed"
 
xslFileName="gallio\xsl\Gallio-Report.ccnet-details-condensed.xsl">
                                <includedProjects>
                                        <projectName>MbUnit v3</projectName>
                                </includedProjects>
                        </xslReportBuildPlugin>
                        <gallioAttachmentBuildPlugin />

                        <xslReportBuildPlugin description="MbUnit Test
Report" actionName="MbUnitTestReport" xslFileName="xsl\MBUnitDetails.xsl">
                                <includedProjects>
                                        <projectName>MbUnit v2</projectName>
                                </includedProjects>
                        </xslReportBuildPlugin>

Jeff. 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Paolo
Sent: Tuesday, July 22, 2008 12:16 AM
To: MbUnit.User
Subject: MbUnit Nunit & MbUnit


Hi,

How can I have on the same CCnet server, projects that use MbUnit and
projects that use Nunit?
The problem is on xsl.

Thank you
Paolo


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to