VSTestAliases.

VSTest(ICakeContext, IEnumerable<FilePath>) Method

Summary

Runs all VSTest unit tests in the specified assemblies.
Namespace
Cake.Common.Tools.VSTest
Containing Type
VSTestAliases

Syntax

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

Examples

var paths = new List<FilePath>() { "./assemblydir1", "./assemblydir2" };
VSTest(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