Table of Contents

Class LevelOfParallelismAttribute

Namespace
NUnit.Framework
Assembly
nunit.framework.dll

LevelOfParallelismAttribute is used to set the number of worker threads that may be allocated by the framework for running tests.

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
public sealed class LevelOfParallelismAttribute : PropertyAttribute, IApplyToTest
Inheritance
LevelOfParallelismAttribute
Implements
Inherited Members

Constructors

LevelOfParallelismAttribute(int)

Construct a LevelOfParallelismAttribute.

public LevelOfParallelismAttribute(int level)

Parameters

level int

The number of worker threads to be created by the framework.