NUnitProcessOption Enum

Summary

Represents the various ways NUnit loads tests in processes.
Namespace
Cake.Common.Tools.NUnit
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["NUnitProcessOption"] class Type type-node

Syntax

public enum NUnitProcessOption

Fields

Name Constant Value Summary
Multiple 2
A separate process is created for each test assembly.
static
Separate 1
A separate process is created to run the tests.
static
Single 0
All the tests are run in the nunit-console process. This is the default.
static

Extension Methods

Name Value Summary
Dump<NUnitProcessOption>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<NUnitProcessOption>(NUnitProcessOption[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<NUnitProcessOption>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<NUnitProcessOption>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin