Table of Contents

Property MaxParallelThreads

Namespace
Xunit.Runners
Assembly
xunit.v3.runner.utility.netfx.dll

MaxParallelThreads

Indicates how many threads to use to run parallel tests (will have no affect if parallelism is turned off). A value of -1 indicates a desire for no thread limit; a value of 0 indicates 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 to null), will use the value from the configuration file (and if that isn't set, will use the default value of ProcessorCount).

public int? MaxParallelThreads { get; set; }

Property Value

int?