NUnit3AppDomainUsage Enum


The /domain option controls of the creation of AppDomains for running tests.
  • 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["NUnit3AppDomainUsage"] class Type type-node


public enum NUnit3AppDomainUsage


Name Constant Value Summary
Default 0
Create a separate AppDomain for each assembly if more than one is listed on the command line, otherwise creates a single AppDomain.
Multiple 3
An AppDomain is created for each assembly specified on the command line.
None 1
No AppDomain is created - the tests are run in the primary domain. This normally requires copying the NUnit assemblies into the same directory as your tests.
Single 2
A single test AppDomain is created for all test assemblies This is how NUnit worked prior to version 2.4.

Extension Methods

Name Value Summary
Dump<NUnit3AppDomainUsage>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<NUnit3AppDomainUsage>(NUnit3AppDomainUsage[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<NUnit3AppDomainUsage>(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<NUnit3AppDomainUsage>(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