Summary
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.
- Namespace
- Cake
.Common .Tools .MSTest - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["MSTestAliases"]
class Type type-node
Syntax
[CakeAliasCategory("MSTest")]
public static class MSTestAliases
Attributes
Type | Description |
---|---|
Cake |
An attribute used for documentation of alias methods/properties. |
Methods
Name | Value | Summary |
---|---|---|
MSTest |
void |
Runs all MSTest unit tests in the assemblies matching the specified pattern.
static
|
MSTest |
void |
Runs all MSTest unit tests in the assemblies matching the specified pattern.
static
|
MSTest |
void |
Runs all MSTest unit tests in the specified assemblies.
static
|
MSTest |
void |
Runs all MSTest unit tests in the specified assemblies.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|