NUnit3ProcessOption 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["NUnit3ProcessOption"] class Type type-node

Syntax

public enum NUnit3ProcessOption

Fields

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

Extension Methods

Name Value Summary
Dump<NUnit3ProcessOption>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<NUnit3ProcessOption>(NUnit3ProcessOption[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<NUnit3ProcessOption>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<NUnit3ProcessOption>(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