docs: .NET ParallelScope (#27745)
Fixes https://github.com/microsoft/playwright-dotnet/issues/2732
This commit is contained in:
parent
5fe77f9a6f
commit
766bc5cd77
|
|
@ -110,7 +110,7 @@ dotnet test --filter "Name~Slogan"
|
||||||
### Running NUnit tests in Parallel
|
### Running NUnit tests in Parallel
|
||||||
|
|
||||||
By default NUnit will run all test files in parallel, while running tests inside each file sequentially (`ParallelScope.Self`). It will create as many processes as there are cores on the host system. You can adjust this behavior using the NUnit.NumberOfTestWorkers parameter.
|
By default NUnit will run all test files in parallel, while running tests inside each file sequentially (`ParallelScope.Self`). It will create as many processes as there are cores on the host system. You can adjust this behavior using the NUnit.NumberOfTestWorkers parameter.
|
||||||
Running test in parallel using `ParallelScope.All` or `ParallelScope.Fixtures` is not supported.
|
Only `ParallelScope.Self` is supported.
|
||||||
|
|
||||||
For CPU-bound tests, we recommend using as many workers as there are cores on your system, divided by 2. For IO-bound tests you can use as many workers as you have cores.
|
For CPU-bound tests, we recommend using as many workers as there are cores on your system, divided by 2. For IO-bound tests you can use as many workers as you have cores.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue