Andrew Stopford's Weblog

poobah

News

Articles

MbUnit Folks

Old Blogs

MbUnit v3 in Visual Studio Team System 2008

One of the changes made in MbUnit v3 alpha 3 was support for the Visual Studio Team System test runner. As Jeff points out, we are the first to offer this kind of support. At the moment the support is experimental but we will be driving foward more in the coming weeks and months.

You will need to install MbUnit v3 alpha 3, if your upgrading from v2 to v3 there will be some compatability issues (I'll cover these in a later post).

Take this simple test

 Make sure you have MbUnit and Gallio referanced

 

Recompile and the test should now show in the Test View window

Just like a MSTest test you can now run through the test window.

Posted: Jul 03 2008, 05:46 PM by andrewstopford | with 9 comment(s)
Filed under: ,

Comments

Dew Drop - July 4, 2008 | Alvin Ashcraft's Morning Dew said:

Pingback from  Dew Drop - July 4, 2008 | Alvin Ashcraft's Morning Dew

# July 4, 2008 5:07 PM

Sam Gentile Uri address = new Uri("http://localhost:8000/HelloIndigo"); said:

Its about time to clear out the backlog. CLR/.NET/Visual Studio/TDD/ALT.NET Jeremy has a nice piece here

# July 5, 2008 11:33 AM

Matt Ellis said:

Just to give credit where it's due - there's an nunitForVS project on Codeplex that added this support for nunit to Visual Studio 2005.

www.codeplex.com/NUnitForVS

But nice work! It's nice to see plain old VS getting some love :-)

Cheers

Matt

# July 8, 2008 6:42 PM

Jeff Brown said:

Speaking of credit...

Some of the recent changes to NUnitForVS contain code that looks awfully familiar to me.  Kind of like it was lifted from Gallio.

BUT MISSING THE COPYRIGHT NOTICES!

Compare ServiceProvider.cs and NUnitTestPackage.cs with GallioPackage.cs, for example.

# July 9, 2008 6:50 PM

Benjy said:

Actually the main page for NUnitForVS does give credit to Gallio

"Parts of NUnitForVS uses code from Gallio http://www.gallio.org"

although they should have put in the correct attribution in the source files

cheers

benjy

# July 15, 2008 9:29 AM

Angus McDonald said:

Really interested in what issues we might have with upgrading from MbUnit v2 to v3 as it seems we need to in order to try Gallio (can it run MbUnit v2 tests?).

# July 16, 2008 10:12 PM

Jeff Brown said:

Yes Gallio can run MbUnit v2.

Just be sure to use the exact same version of MbUnit v2 as is distributed with Gallio.  You'll find it in C:\Program Files\Gallio\bin\MbUnit2.

# July 18, 2008 3:16 PM

Emad Ibrahim said:

This is not working for me.  I tried to ran the tests from the menu Test > Run > All tests in solution and the status bar in VS2k8 said "no tests were run because no tests are loaded or the selected tests are disabled."

I am on Vista 64 bit, VS 2k8 and MbUnit v3 Alpha 2 (bundled with Gallio alpha 2)

What am I doing wrong?

# August 8, 2008 12:04 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)