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

Syntax

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

Requirements

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

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 Methods