<PackageReference Include="NUnit" Version="3.0.0-rc-3" />

PackageSettings

public static class PackageSettings
PackageSettings is a static class containing constant values that are used as keys in setting up a TestPackage. These values are used in the engine and framework. Setting values may be a string, int or bool.
public const string ActiveConfig = "ActiveConfig"

The name of the config to use in loading a project. If not specified, the first config found is used.

public const string AutoBinPath = "AutoBinPath"

Bool indicating whether the engine should determine the private bin path by examining the paths to all the tests. Defaults to true unless PrivateBinPath is specified.

public const string BasePath = "BasePath"

The ApplicationBase to use in loading the tests. If not specified, and each assembly has its own process, then the location of the assembly is used. For multiple assemblies in a single process, the closest common root directory is used.

public const string ConfigurationFile = "ConfigurationFile"

Path to the config file to use in running the tests.

public const string DebugAgent = "DebugAgent"

Bool flag indicating whether a debugger should be launched at agent startup. Used only for debugging NUnit itself.

public const string DebugTests = "DebugTests"

Flag (bool) indicating whether tests are being debugged.

public const string DefaultTimeout = "DefaultTimeout"

Integer value in milliseconds for the default timeout value for test cases. If not specified, there is no timeout except as specified by attributes on the tests themselves.

public const string DisposeRunners = "DisposeRunners"

Indicates that test runners should be disposed after the tests are executed

public const string DomainUsage = "DomainUsage"

Indicates how to load tests across AppDomains. Values are: "Default", "None", "Single", "Multiple". Default is "Multiple" if more than one assembly is loaded in a process. Otherwise, it is "Single".

public const string InternalTraceLevel = "InternalTraceLevel"

The InternalTraceLevel for this run. Values are: "Default", "Off", "Error", "Warning", "Info", "Debug", "Verbose". Default is "Off". "Debug" and "Verbose" are synonyms.

public const string InternalTraceWriter = "InternalTraceWriter"

A TextWriter to which the internal trace will be sent.

public const string LOAD = "LOAD"

A list of tests to be loaded.

public const string MaxAgents = "MaxAgents"

The maximum number of test agents permitted to run simultneously. Ignored if the ProcessModel is not set or defaulted to Multiple.

public const string NumberOfTestWorkers = "NumberOfTestWorkers"

The number of test threads to run for the assembly. If set to 1, a single queue is used. If set to 0, tests are executed directly, without queuing.

public const string PrivateBinPath = "PrivateBinPath"

The private binpath used to locate assemblies. Directory paths is separated by a semicolon. It's an error to specify this and also set AutoBinPath to true.

public const string ProcessModel = "ProcessModel"

Indicates how to allocate assemblies to processes. Values are: "Default", "Single", "Separate", "Multiple". Default is "Multiple" for more than one assembly, "Separate" for a single assembly.

public const string RandomSeed = "RandomSeed"

The random seed to be used for this assembly. If specified as the value reported from a prior run, the framework should generate identical random values for tests as were used for that run, provided that no change has been made to the test assembly. Default is a random value itself.

public const string RunAsX86 = "RunAsX86"

Bool flag indicating that the test should be run in a 32-bit process on a 64-bit system. By default, NUNit runs in a 64-bit process on a 64-bit system. Ignored if set on a 32-bit system.

public const string RuntimeFramework = "RuntimeFramework"

Indicates the desired runtime to use for the tests. Values are strings like "net-4.5", "mono-4.0", etc. Default is to use the target framework for which an assembly was built.

public const string ShadowCopyFiles = "ShadowCopyFiles"

Bool flag indicating that the test assemblies should be shadow copied. Defaults to false.

public const string StopOnError = "StopOnError"

If true, execution stops after the first error or failure.

public const string SynchronousEvents = "SynchronousEvents"

If true, use of the event queue is suppressed and test events are synchronous.

public const string WorkDirectory = "WorkDirectory"

Full path of the directory to be used for work and result files. This path is provided to tests by the frameowrk TestContext.