From reasons I won\'t get into, all our unit tests are using the VSTS test framework. I now want to create an MSBuild script that runs the tests, but I don\'t want to use ms
We run VSTS tests using msbuild TestToolsTask on a Cruise Control server. This does not use the MSTEST executable -- the condition you ask for -- but does use a variety of TFS dependencies.
Note that we are migrating tests off of the VSTS test framework for NUnit, mostly because we can create extensions for NUnit to perform useful tasks.