iOS Guides | Samples

NUnit.Framework.PreTestAttribute Class

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.

See Also: PreTestAttribute

Syntax

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class PreTestAttribute : NUnitAttribute

Requirements

Namespace: NUnit.Framework
Assembly: NUnitLite (in NUnitLite.dll)
Assembly Versions: 1.0.0.0

The members of NUnit.Framework.PreTestAttribute are listed below.

See Also: NUnitAttribute

Public Constructors