MSpecAliases Class

Summary

Contains functionality related to running Machine.Specifications tests.

In order to use the commands for this alias, include the following in your build.cake file to download and install from nuget.org, or specify the ToolPath within the MSpecSettings class:

#tool "nuget:?package=Machine.Specifications.Runner.Console"

Namespace
Cake.Common.Tools.MSpec
Base Types
  • object
graph BT Type-->Base0["object"] Type["MSpecAliases"] class Type type-node

Syntax

[CakeAliasCategory("MSpec")]
public static class MSpecAliases

Attributes

Type Description
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.

Methods

Name Value Summary
MSpec(ICakeContext, GlobPattern, MSpecSettings) void
Runs all MSpec tests in the assemblies matching the specified pattern.
static
MSpec(ICakeContext, GlobPattern) void
Runs all MSpec tests in the assemblies matching the specified pattern.
static
MSpec(ICakeContext, IEnumerable<FilePath>, MSpecSettings) void
Runs all MSpec tests in the specified assemblies.
static
MSpec(ICakeContext, IEnumerable<FilePath>) void
Runs all MSpec tests in the specified assemblies.
static
MSpec(ICakeContext, IEnumerable<string>, MSpecSettings) void
Runs all MSpec tests in the specified assemblies.
static
MSpec(ICakeContext, IEnumerable<string>) void
Runs all MSpec tests in the specified assemblies.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin