NUnitAppDomainUsage Enum

Summary

The /domain option controls of the creation of AppDomains for running tests.
Namespace
Cake.Common.Tools.NUnit
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["ISpanFormattable"] Type-.->Interface2["IFormattable"] Type-.->Interface3["IConvertible"] Type["NUnitAppDomainUsage"] class Type type-node

Syntax

public enum NUnitAppDomainUsage

Fields

Name Constant Value Summary
Default 0
Create a separate AppDomain for each assembly listed on the command line.
static
None 1
No domain is created - the tests are run in the primary domain. This normally requires copying the NUnit assemblies into the same directory as your tests.
static
Single 2
A test domain is created - this is how NUnit worked prior to version 2.4
static

Extension Methods

Name Value Summary
Dump<NUnitAppDomainUsage>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<NUnitAppDomainUsage>(NUnitAppDomainUsage[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<NUnitAppDomainUsage>(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<NUnitAppDomainUsage>(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
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin