This project is read-only.
1

Closed

Generate MsTest task

description

Add the capability to invoke MsTest on the test projects. Create a new target that will execute all the test on the test projects
Closed May 27, 2011 at 3:50 PM by
Fixed in source version 59011.

The following new options were added to the build script. In allows you to test only certain categories or exclude categories (follow mstest command line instructions for more details)

<ExecuteTests>False</ExecuteTests>
<ContinueOnTestError>False</ContinueOnTestError>
<MsTestCategories>!Fonctionnel</MsTestCategories>
<MsTestGlobalSettingsFile>misa.testsettings</MsTestGlobalSettingsFile>
<MsTestLocation>%VS100COMNTOOLS%..\IDE\mstest.exe</MsTestLocation>

comments

GimmeMoore wrote Mar 29, 2011 at 12:16 PM

If you are using TFS as a Build server, you can simply select your build file and define the mask for your test assemblies, and you will be able to run MsTest like a charm.

Question
Does many of you uses MsTest with a different build server than TFS, which would worth this issue not to be closed as is?