Method MaxParallelThreadsOrDefault
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.core.dll
MaxParallelThreadsOrDefault(ITestFrameworkExecutionOptions)
Gets the maximum number of threads to use when running tests in parallel. If set to 0 (or not set), the value of ProcessorCount is used; if set to a value less than 0, does not limit the number of threads.
public static int MaxParallelThreadsOrDefault(this ITestFrameworkExecutionOptions executionOptions)
Parameters
executionOptions