ToolFixtureExtensions Class

Summary

Contains extension methods for ToolFixture<TToolSettings, TFixtureResult>.
Namespace
Cake.Testing
Base Types
  • object
graph BT Type-->Base0["object"] Type["ToolFixtureExtensions"] class Type type-node

Syntax

public static class ToolFixtureExtensions

Methods

Name Value Summary
GivenDefaultToolDoNotExist<TToolSettings, TFixtureResult>(ToolFixture<TToolSettings, TFixtureResult>) void
Ensures that the tool does not exist under the tool settings tool path.
static
GivenProcessCannotStart<TToolSettings, TFixtureResult>(ToolFixture<TToolSettings, TFixtureResult>) void
Ensures that the tool's process is unable to start.
static
GivenProcessExitsWithCode<TToolSettings, TFixtureResult>(ToolFixture<TToolSettings, TFixtureResult>, int) void
Ensures that the tool process exits with the given exit code.
static
GivenSettingsToolPathExist<TToolSettings, TFixtureResult>(ToolFixture<TToolSettings, TFixtureResult>) void
Ensures that the tool exist under the tool settings tool path.
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