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

Syntax

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

Requirements

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

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