Table of Contents

Class TestOptionsNames.Execution

Namespace
Xunit.Sdk
Assembly
xunit.v3.common.dll

Test options names used with ITestFrameworkExecutionOptions.

public static class TestOptionsNames.Execution
Inheritance
TestOptionsNames.Execution
Inherited Members

Fields

Culture

The culture to be used for execution. null means the default system culture, Empty means the invariant culture, and any other value is assumed to be a culture name that the system understands.

DiagnosticMessages

Set to true to enable display of diagnostic messages.

DisableParallelization

Set to true to disable running tests in parallel.

ExplicitOption

Gets a flag which indicates the user's desire to run explicit tests.

FailSkips

Set to true to convert skipped tests into failed tests.

FailTestsWithWarnings

Set to true to convert passing tests with warnings into failed tests.

InternalDiagnosticMessages

Set to true to enable display of internal diagnostic messages.

MaxParallelThreads

Sets the maximum number of parallel threads to use during execution. Set to -1 to run with unlimited threads; set to 0 to use the system default (equal to ProcessorCount; set to any other positive integer to use that number of threads.

ParallelAlgorithm

Set the algorithm to use for parallelization.

Seed

Set the seed to use for randomization. When unset (or set to null), will use the default system-computed seed.

ShowLiveOutput

Set to true to show output live while tests are running, in addition to showing collected output when the test has finished.

StopOnFail

Set to true to attempt to stop execution as soon the first test fails.

SynchronousMessageReporting

Set to true to enable synchronous message reporting; set to false to enable asynchronous message reporting. Synchronous in this case means the system will wait for the runner to process a message before delivering the next one.