NumberOfTestWorkers vs LevelOfParallelism #4597
-
I've found two options - |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
These are the same. If the The See https://docs.nunit.org/articles/nunit/writing-tests/attributes/levelofparallelism.html |
Beta Was this translation helpful? Give feedback.
These are the same. If the
NumberOfTestWorkers
is set, then it overrides theLevelOfParallelism
attribute in the source code files.The
NumberOfTestWorkers
is an option for the runner (NUnit3TestAdapter/dotnet test) in the first case (NUnit.Console --workers is also the same as this option), whereas theLevelOfParallelism
is a source code attribute.See https://docs.nunit.org/articles/nunit/writing-tests/attributes/levelofparallelism.html