Andrew Stopford's Weblog

poobah

Sponsors

News

Articles

Family

Old Blogs

Add MbUnit to Cruise Control

Phil has blogged a way of adding MbUnit to Cruise Control.net along with some code for a plug in to let you view the unit tests report XSL that Peli has packaged up in the Tesdriven..net installer. If you have ever added NUnit to CC.net then the same rules apply, much of Phils steps you can use with NUnit (and the NUnit process is in the CC.net docs as well). I have modfied another XSL file so you can see the same information with MbUnit as you get with NUnit on CC.NET, I just need to find a home for it. With the move to the dashboard this file (along with the sub projects structure) will be phased out in the future, but for the time being the model remains in place so the file has plenty of use.

Comments

colorado longs peak picture said:

<a href="www.ispdk.in/legend70.html">legends of m.t. manadnok</a> legends of m.t. manadnok,<a href="www.skidereve.in/reads36.html">label reads the oriental store</a> label reads the oriental store,<a href="www.wumpi.in/terence91.html">sound photosynthesis terence mckenna videotapes audiotapes</a> sound photosynthesis terence mckenna videotapes audiotapes,<a href="www.ezpiguide.in/vs16.html">st1100 vs st1300</a> st1100 vs st1300,<a href="www.ezpiguide.in/vs16.html">franklin vs. gwinnett county public</a> franklin vs. gwinnett county public,<a href="www.wpisupplies.in/continental92.html">inter-continental railroad</a> inter-continental railroad,<a href="www.wpisupplies.in/continental92.html">continental f 124</a> continental f 124,<a href="www.wumpi.in/terence91.html">terence blanchard lisbon</a> terence blanchard lisbon,<a href="www.freepilive.in/ne-yo24.html">lyrics to do you by ne-yo</a> lyrics to do you by ne-yo,<a href="www.skidereve.in/quay34.html">noosa quays accomodation</a> noosa quays accomodation,

# October 30, 2007 12:01 PM

Lee Englestone said:

Is it possible to have both NUnit and MBUnit options on the control panel / xsl.

The reason I ask is that I have some projects with unit testing with NUnit and some with MBUnit and all this overriding the default unittest.xml stuff makes me think that people are advocating one or the other.

-- Lee

# July 1, 2008 12:30 PM

Jeff Brown said:

Gallio includes instructions out of the box and a set of XSL templates and resources you can pretty much just drop into place in your CCNet install.

# July 1, 2008 11:25 PM

Lee Englestone said:

Are you saying that Gallio has xsl stylesheets that I can use with CC.NET to allow the Control Panel to..

A) Show a link to MBUnit results in the Control panel if the UnitTest program used to automatically test the project is MBUnit

Otherwise..

B) Show a link to NUnit results in the Control panel if the UnitTest program used to automatically test the project is NUnit.

I have a bad feeling that by altering the unittest.xsl stylesheet to accommodate either MBUnit or NUnit means you are locking your projects watched by cruise control into using only one of the testing programs.

Does this make sense?

Can you understand my concern?

I hope I am completely wrong. Please tell me if I am.

-- Lee

# July 2, 2008 4:01 AM

Jeff Brown said:

If you follow the instructions then you will end up with a Gallio test report which is universally applicable across MbUnit, NUnit, xUnit.Net, and MSTest at this time.  Assuming you run the tests using one of the Gallio test runners like the command-line Gallio.Echo.exe, the MSBuild task, or any of the others.

Here's what it ends up looking like:

ccnet.gallio.org/.../ViewBuildReport.aspx

Notice there are two flavours of the report, a full one and a condensed one (only errors).

# July 2, 2008 10:27 PM

Jeff Brown said:

In any case, I certainly wouldn't recommend modifying unittest.xsl.  There are other perfectly good ones for MbUnit.

Moreover you can copy, rename and tweak templates however you like.  You can also select the ones you wish to use in the dashboard on a per-project basis using standard CCNet configuration options.

# July 2, 2008 10:41 PM

... said:

Dies ist ein gro�er Ort. Ich m�chte hier noch einmal.

# March 9, 2009 5:43 AM

nick_domoud said:

# May 16, 2009 7:28 AM

Yachtcharter Griechenland said:

That's great, I never thought about Add MbUnit to Cruise Control like that before.

# March 10, 2010 4:38 AM

Yachtcharter Griechenland said:

Wow, I never knew that Add MbUnit to Cruise Control. That's pretty interesting...

# March 22, 2010 7:36 AM