Class AssemblyRunnerStartOptions
- Namespace
- Xunit.Runners
- Assembly
- xunit.v3.runner.utility.netfx.dll
Represents options to be used when calling Start(AssemblyRunnerStartOptions?).
public class AssemblyRunnerStartOptions
- Inheritance
-
AssemblyRunnerStartOptions
- Inherited Members
Properties
- DiagnosticMessages
Indicates whether diagnostic messages should be generated. If unset (or set to
null), will use the value from the configuration file (and if that isn't set, will use the default value offalse).
- Empty
Gets an empty set of options (representing all default behavior).
- InternalDiagnosticMessages
Indicates whether internal diagnostic messages should be generated (these are typically low level diagnostic messages from the test engine itself that may be requested by xUnit.net developers when debugging issues inside xUnit.net itself). If unset (or set to
null), will use the value from the configuraiton file (and if that isn't set, will use the default value offalse).
- MaxParallelThreads
Indicates how many threads to use to run parallel tests (will have no affect if parallelism is turned off). A value of
-1indicates a desire for no thread limit; a value of0indicates a desire for the default limit (which is ProcessorCount); a value greater than 0 indicates an exact thread count is desired. If unset (or set tonull), will use the value from the configuration file (and if that isn't set, will use the default value of ProcessorCount).
- MethodDisplay
Indicates how to display test methods. If unset (or set to
null), will use the value from the configuration file (and if that isn't set, will use the default value of ClassAndMethod).
- MethodDisplayOptions
Indicates how to interpret test method names for display. If unset (or set to
null), will use the value from the configuration file (and if that isn't set, will use the default value of None).
- Parallel
Indicates whether to run test collections in parallel. If unset (or set to
null), will use the value from the configuration file (and if that isn't set, will use the default value oftrue). Note that test collection parallelization is only available in v2 test projects.
- ParallelAlgorithm
Indicates which algorithm to use when parallelizing tests (will have no effect if parallelism is turned off or if the max parallel threads is set to
-1). If unset (or set tonull), will use the value from the configuration file (and if that isn't set, will use the default value of Conservative. For more information on the parallelism algorithms, see https://xunit.net/docs/running-tests-in-parallel#algorithms.
- PreEnumerateTheories
Indicates whether theories should be pre-enumerated (that is, enumerated during discovery rather than during execution). If unset (or set to
null), will use the value from the configuration file (and if that isn't set, will use the default value offalse).
- TypesToRun
Indicates the types to be run. If empty, will run all types in the assembly.