MSTest aliases

Built-In

Contains functionality related to running MSTest unit tests.

In order to use the commands for this alias, MSTest will need to be installed on the machine where the Cake script is being executed. This is typically achieved by having either Visual Studio installed, or by using the Microsoft Build Tools, for example, for 2015.

General

MSTest(GlobPattern, MSTestSettings) Runs all MSTest unit tests in the assemblies matching the specified pattern.
MSTest(GlobPattern) Runs all MSTest unit tests in the assemblies matching the specified pattern.
MSTest(IEnumerable<FilePath>, MSTestSettings) Runs all MSTest unit tests in the specified assemblies.
MSTest(IEnumerable<FilePath>) Runs all MSTest unit tests in the specified assemblies.