iOS Guides | Samples

NUnit.Framework.IgnoreAttribute Class

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

See Also: IgnoreAttribute


[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class IgnoreAttribute : NUnitAttribute, IApplyToTest


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

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

See Also: NUnitAttribute

Public Constructors

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

Public Properties

ReasonString. The reason for ignoring a test

Public Methods