<PackageReference Include="NUnit" Version="3.13.1" />

FrameworkPackageSettings

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

Flag (bool) indicating whether tests are being debugged.

public const string DefaultCulture = "DefaultCulture"

A string representing the default thread culture to be used for running tests. String should be a valid BCP-47 culture name. If culture is unset, tests run on the machine's default culture.

public const string DefaultTestNamePattern = "DefaultTestNamePattern"

The default naming pattern used in generating test names

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 DefaultUICulture = "DefaultUICulture"

A string representing the default thread UI culture to be used for running tests. String should be a valid BCP-47 culture name. If culture is unset, tests run on the machine's default culture.

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 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 PauseBeforeRun = "PauseBeforeRun"

Flag (bool) indicating whether to pause execution of tests to allow the user to attach a debugger.

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 RunOnMainThread = "RunOnMainThread"

If true, the tests will run on the same thread as the NUnit runner itself

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 TestParameters = "TestParameters"

Parameters to be passed on to the tests, serialized to a single string which needs parsing. Obsoleted by TestParametersDictionary; kept for backward compatibility.

public const string TestParametersDictionary = "TestParametersDictionary"

Parameters to be passed on to the tests, already parsed into an IDictionary<string, string>. Replaces TestParameters.

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 framework TestContext.