iOS Guides | Samples

NUnit.Framework.TearDownAttribute Class

Attribute used to identify a method that is called immediately after each test is run. The method is guaranteed to be called, even if an exception is thrown.

See Also: TearDownAttribute

Syntax

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

Requirements

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

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

See Also: NUnitAttribute

Public Constructors