Sponsors

News

Jobping Laurent Kempé MVP JetBrains Academy Member Certified ScrumMaster

Contact

My status

View Laurent Kempé's profile on LinkedIn
XING
twitter
facebook


Xbox 360



Map

Locations of visitors to this page

.NET Dudes

Family

French .NET Dudes

Friends

Jobping

Links

Tech Head Brothers

Set Up a Build Computer using VisualSVN, Team City, MsTest, NUnit

When I started to work on the new version of Tech Head Brothers I decided to use the new version of the unit testing framework from Microsoft. Before making this decision I read that it was much better and faster in several places. As I also wanted to get code coverage I thought it was a good idea.

I also had to setup a version control system and decided to use subversion with the facility of the free VisualSVN Server. Very simple way to setup in less than 10 min (including download time) a subversion repository on a Windows server. I highly recommend it ! I am also now, for some months, using VisualSVN that provides a seamless integration between subversion and Visual Studio 2005 and 2008. VisualSVN Limited offered a license of VisualSVN to me and my brother. Thanks a lot, really appreciated! And now at innoveo solutions, my company, we are also using it.

Then came the time to have a continuous integration server. After having CC.NET installed and used at innoveo solutions I decided to give a try to JetBrains Team City for my personal use  on Tech Head Brothers development. The installation and configuration with subversion was straight and achieved in less than two hours. So I had a version control system and continuous integration process setup in less than 2 hours and a half. Isn't that incredible?

But as you can see on the following picture I had and still had an issue!

 

My unit tests aren't running at all! And you know what? What I feared the most was actually true!

As you can read it on this msdn article: How to: Set Up a Build Computer 

Important Note:

In order to run tests during the build, Test Edition must be installed on the build computer. In order to run unit testing, code coverage, or code analysis, Visual Studio Team System Development Edition must be installed on the build computer.

Or on this forum post "Strange MSTest.exe problems with Build Server 2008 RTM"

We are indeed hoping to address this issue in a future release, but for now running unit tests with Team Build does require VS Team Suite or VS Team Tester on the build machine.

So no what I need to do as a next step is to convert my Visual Studio unit tests to a framework, like NUnit, that doesn't needs a development environment installed on a build server. What a waste of time!

At innoveo we are successfully using NUnit and Rhino Mocks with Team City!

Comments

DotNetKicks.com said:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# March 22, 2008 1:59 PM

Brian Di Croce said:

Hi/Salut!

Some coincidence! :)  I'm also writing a series on setting up a CI build environment with TeamCity, NUnit, NCover, SVN...but with a standalone windows client instead of a ASP.NET application (blog.briandicroce.com/.../setting-up-a-continuous-integration-environment-preface)

Keep up the good writing!

A la prochaine!

Brian

# March 31, 2008 9:27 PM

lkempe said:

Brian: Salut/Hi! (are you from the French part of Canada?) Nice reading on your blog, subscribed to it! I plan also to implement NDepend soon! I went on with some other posts that might interest you.

# April 1, 2008 3:35 AM

koen said:

how did you get that free license?

I'm trying to get one (I allready mailed, but without any response) for my schoolproject, but so far no succes...

# April 9, 2008 5:33 AM

acc said:

Thank you very much. Your article helped a lot.

# April 24, 2008 7:24 AM

bonder said:

Man, this thing rocks with Nunit!  I'm not sure there's a compelling need to stick with MSTest - can anyone think of a reason?

# May 2, 2008 7:03 PM

lkempe said:

bonder: Team City with NUnit just rocks! One assembly and you have it. You don't need to have the whole Visual Studio installed on the server.

# May 3, 2008 5:21 AM

Loosely Coupled Human Code Factory - A.K.A. Mercenary Engineer said:

Starting a new project always requires a certain amount of setup, one of the primary goals of any development...

# June 6, 2008 5:53 PM

Loosely Coupled Human Code Factory - A.K.A. Mercenary Engineer said:

Starting a new project always requires a certain amount of setup, one of the primary goals of any development...

# June 6, 2008 6:13 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)