SetUpAttribute Class

Definition

Attribute used to mark a class that contains one-time SetUp and/or TearDown methods that apply to all the tests in a namespace or an assembly.

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class SetUpAttribute : NUnit.Framework.NUnitAttribute
type SetUpAttribute = class
    inherit NUnitAttribute
Inheritance
SetUpAttribute
Attributes

Constructors

SetUpAttribute()

Applies to