MSTestAliases.

MSTest(ICakeContext, IEnumerable<FilePath>) Method

Summary

Runs all MSTest unit tests in the specified assemblies.
Namespace
Cake.Common.Tools.MSTest
Containing Type
MSTestAliases

Syntax

[CakeMethodAlias]
public static void MSTest(this ICakeContext context, IEnumerable<FilePath> assemblyPaths)

Examples

var paths = new List<FilePath>() { "./assemblydir1", "./assemblydir2" };
MSTest(paths);

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.

Parameters

Name Type Description
context ICakeContext The context.
assemblyPaths IEnumerable<FilePath> The assembly paths.

Return Value

Type Description
void