VSTS Unit test - build system

I have developed a build system in MSBuild (NET 3.0) and cc.net to perform continuous builds of the Visual Studio 2008 application integration, however a developer on the team recently added a VSTS unit test project to the project. Is there any SDK or add-on provided by Microsoft so that it can be compiled in a build environment without a command?

+1


source to share


2 answers


You can run tests from the command line, but this requires a test edition of Visual Studio to be installed on your build server:

http://devlicio.us/blogs/derik_whittaker/archive/2008/09/25/clean-build-server-with-mstest-fail.aspx

http://aspadvice.com/blogs/ssmith/archive/2008/03/18/Continuous-Integration-Setup-with-MSTest.aspx



This person is doing MSTest with CC.NET, so it might be helpful:

http://testearly.findtechblogs.com/default.asp?item=630602

In general, this is the main reason why many people choose something like NUnit , xUnit.NET, or MbUnit over MSTest.

+2


source


If you are using MSTEST, you will need to host this edition on a build server. To shorten the long history, you'd be better off changing the testing framework the developer uses from MStest to Nunit. This is a much easier solution.



0


source







All Articles