IgnoreAttribute IgnoreAttribute Class

Definition

Attribute used to mark a test that is to be ignored. Ignored tests result in a warning message when the tests are run.

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class IgnoreAttribute : NUnit.Framework.NUnitAttribute, NUnit.Framework.Internal.IApplyToTest
type IgnoreAttribute = class
    inherit NUnitAttribute
    interface IApplyToTest
Inheritance
IgnoreAttributeIgnoreAttribute
Attributes
Implements

Constructors

IgnoreAttribute() IgnoreAttribute()

Constructs the attribute without giving a reason for ignoring the test.

IgnoreAttribute(String) IgnoreAttribute(String)

Constructs the attribute giving a reason for ignoring the test

Methods

ApplyToTest(Test) ApplyToTest(Test)

Applies to