Class RequirePlatformSupportAttribute
The RequirePlatformSupportAttribute attribute can be applied to test assemblies (affects every test in the assembly), fixtures (affects every test in the fixture), or to individual test methods. Tests under the scope of this attrbitue require Player build support for the specified platforms in order to run.
Implements
Namespace: UnityEditor.TestTools
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method)]
public class RequirePlatformSupportAttribute : NUnitAttribute, IApplyToTest
Constructors
| Name | Description |
|---|---|
| RequirePlatformSupportAttribute(params BuildTarget[]) | Initializes and returns an instance of RequirePlatformSupportAttribute. |
Properties
| Name | Description |
|---|---|
| platforms | The build target platform, see BuildTarget. |