Table of Contents

Property MaxParallelThreads

Namespace
Xunit.v3
Assembly
xunit.v3.core.aot.dll

MaxParallelThreads

Gets the maximum number of threads to use when running tests in parallel. If this returns a positive integer, that is the maximum number of threads; if it returns -1, that indicates that unlimited threads should be allowed.

int? MaxParallelThreads { get; }

Property Value

int?

Remarks

If this returns null, the default value will be used (typically ProcessorCount).