TearDownAttribute Class

Definition

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.

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

Constructors

TearDownAttribute()

Applies to