-
Notifications
You must be signed in to change notification settings - Fork 155
LevelOfParallelism Attribute
jnm2 edited this page Mar 18, 2017
·
4 revisions
This is an assembly-level attribute, which may be used to specify the level of parallelism, that is, the maximum number of worker threads executing tests in the assembly. It may be overridden using a command-line option in the console runner.
This attribute is optional. If it is not specified, NUnit uses the processor count or 2, whichever is greater. For example, on a four processor machine the default value is 4.
The following code, which might be placed in AssemblyInfo.cs, sets the level of parallelism to 3:
[assembly:LevelOfParallelism(3)]
Copyright (c) 2018 The NUnit Project - Licensed under CC BY-NC-SA 4.0
-
NUnit
-
Release Notes
-
License
- Getting Started
- Writing Tests
- Running Tests
- Extending NUnit
- Technical Notes
-
Release Notes
- NUnit Xamarin Runners
- VS Test Adapter
- VS Test Generator
- NUnit Analyzers