Andrew Stopford's Weblog

poobah

Sponsors

News

Articles

Family

Old Blogs

MbUnit and CCNet

If you want to run MbUnit on CCNet I should address how, it's pretty easy as CCNet ships with the XSL files.

  • Replace unittests.xsl with MbUnitSummary.xsl (rename the mbunit file to unittests.xsl)
  • Replace tests.xsl with MbUnitDetails.xsl (rename the mbunit file to tests.xsl).
A newer XSL exists
http://confluence.public.thoughtworks.org/display/CCNETCOMM/MBUnit+Details+Transform
Which is a better replacement for MbUnitSummary.xsl, you might want to trail this out when your up and running with the MbUnit XSLs.
Posted: Oct 11 2006, 10:15 AM by astopford | with 2 comment(s)
Filed under: ,

Comments

Harry M said:

I've done the above, and have a <mbunit> node in my nant build script which is run by ccnet (and runs the tests) but i was hoping that after doing this the summary resutls would show up on my ccnet dashboard - what else do i need to do? Here is my nant ccnet section

<mbunit

report-types="Text;Html;Dox;Xml"

report-filename-format="mbunitReport"

report-output-directory="AppTests\Results"

>

<assemblies>

       <include name="AppTests\bin\AppTests.dll" />

       </assemblies>

</mbunit>

# October 17, 2006 12:13 PM

Harry M said:

I think i need to merge the XML. I will be back if i'm wrong :)

# October 17, 2006 1:10 PM