Reputation: 1039
I need to configure Team Build Server (TFS 2010) to run xUnit tests as well as MSTests. Some information I've found is the next urls:
http://weblogs.asp.net/mehfuzh/archive/2009/08/25/configuring-team-build-using-xunit.aspx
Every post on the web is saying that I need to modify / configure team build server, or TeamBuildTypes
directory (btw. I don't see it in my Team Explorer). But my problem is that Team buid is in corporate network and I'm not able to configure it in my way.
So, my question: Is there any ability to configure team Build 2010 to run xUnit tests continuously? How can I configure it only from client side to run xUnit tests?
I'll appreciate any help on this.
Upvotes: 2
Views: 596
Reputation: 22245
Those articles are talking about TFS 2008 not 2010. In TFS 2010 the build technology changed significantly.
What you want to do is customize the TFS Build workflow file (DefaultTemplate.xaml) that will exist in the BuildProcessTemplates directory in your source control.
You need to add an InvokeProcess activity that will execute the appropriate command-line command to run xUnit for you.
Here's some links that might help you out:
http://www.ewaldhofman.nl/post/2010/04/20/Customize-Team-Build-2010-e28093-Part-1-Introduction.aspx
Upvotes: 2