Enum AppDomainSupport
- Namespace
- Xunit.Runner.Common
- Assembly
- xunit.v3.runner.common.dll
Indicates the level of app domain support that the runner is requesting. Note that these values are only valid for v1 and v2 tests; v3 tests always run in a separate process rather than in the runner process.
public enum AppDomainSupport
- Extension Methods
-
Xunit.Runner.Common.AppDomainSupportExtensions.IsValid(Xunit.Runner.Common.AppDomainSupport)
Fields
Denied = 3Requires that v1 and v2 tests be run in the runner's app domain.
IfAvailable = 1Requests that app domains be used for v1 and v2 tests, if available; if app domains cannot be used, then the tests will be discovered and run in the runner's app domain.
Required = 2Requires that v1 and v2 tests run in a separate app domain. Can only be requested by runners written in .NET Framework.