iOS Guides | Samples

NUnit.Framework.PlatformAttribute Class

PlatformAttribute is used to mark a test fixture or an individual method as applying to a particular platform only.

See Also: PlatformAttribute


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


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

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

See Also: IncludeExcludeAttribute

Public Constructors

Constructor with no platforms specified, for use with named property syntax.
Constructor taking one or more platforms

Public Methods