Skip to content

NumberOfTestWorkers vs LevelOfParallelism #4597

Closed Answered by OsirisTerje
TopProgrammer77 asked this question in Q&A
Discussion options

You must be logged in to vote

These are the same. If the NumberOfTestWorkers is set, then it overrides the LevelOfParallelism 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 the LevelOfParallelism is a source code attribute.

See https://docs.nunit.org/articles/nunit/writing-tests/attributes/levelofparallelism.html

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TopProgrammer77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants