This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Karma.
Summary
The karma runner for global mode execution.
- Assembly
- Cake
.Karma .dll - Namespace
- Cake
.Karma - Base Types
-
- Tool
<TSettings>
- Tool
- Derived Types
graph BT
Type-->Base0["Tool<TSettings>"]
Type["KarmaRunner<TSettings>"]
class Type type-node
Derived0["KarmaRunnerLocal<TSettings>"]-->Type
click Derived0 "/api/Cake.Karma/KarmaRunnerLocal_1"
Syntax
public class KarmaRunner<TSettings> : Tool<TSettings> where TSettings : KarmaSettings, new()
Type Parameters
Name | Description |
---|---|
TSettings | The type of settings to provide for the relevant karma command (start, run, init). |
Constructors
Name | Summary |
---|---|
KarmaRunner |
Default constructor for KarmaRunner<TSettings> .
|
Properties
Name | Value | Summary |
---|---|---|
Environment | ICakeEnvironment |
A reference to the supplied
ICakeEnvironment .
|
FileSystem | IFileSystem |
A reference to the supplied
IFileSystem .
|
Methods
Name | Value | Summary |
---|---|---|
Execute |
void |
Execute the runner with the specified settings.
|
Get |
IEnumerable |
Available tool executable names for local karma runs.
|
GetToolName |
string |
The name of the tool, used during logging.
|
ValidateSettings |
void |
Validates the provides settings for global mode.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|