Table of Contents

Class LevelOfParallelizationAttribute

Namespace
NUnit.Framework
Assembly
nunit.framework.dll

LevelOfParallelizationAttribute 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 LevelOfParallelizationAttribute : PropertyAttribute, IApplyToTest
Inheritance
LevelOfParallelizationAttribute
Implements
Inherited Members

Constructors

LevelOfParallelizationAttribute(int)

Construct a LevelOfParallelizationAttribute.

public LevelOfParallelizationAttribute(int level)

Parameters

level int

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