iOS Guides | Samples

NUnit.Framework.ExplicitAttribute Class

ExplicitAttribute marks a test or test fixture so that it will only be run if explicitly executed from the gui or command line or if it is included by use of a filter. The test will not be run simply because an enclosing suite is run.

See Also: ExplicitAttribute


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


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

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

See Also: NUnitAttribute

Public Constructors

Default constructor
Constructor with a reason

Public Methods