SkipIfEnvironmentVariableNotEnabledAttribute SkipIfEnvironmentVariableNotEnabledAttribute Class

Definition

Skip test if a given environment variable is not enabled. To enable the test, set environment variable to "true" for the test process.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public class SkipIfEnvironmentVariableNotEnabledAttribute : Attribute, _Attribute, ITestCondition
<AttributeUsage(AttributeTargets.Method, AllowMultiple:=True)>
Public Class SkipIfEnvironmentVariableNotEnabledAttribute
    Inherits Attribute
    Implements _Attribute, ITestCondition
Inheritance
SkipIfEnvironmentVariableNotEnabledAttributeSkipIfEnvironmentVariableNotEnabledAttribute
Attributes
Implements
_Attribute_Attribute ITestConditionITestCondition

Constructors

SkipIfEnvironmentVariableNotEnabledAttribute(String) SkipIfEnvironmentVariableNotEnabledAttribute(String)

public SkipIfEnvironmentVariableNotEnabledAttribute(string environmentVariableName)
Public Sub New(environmentVariableName As String)
Parameters
environmentVariableName
String String

Properties

AdditionalInfo AdditionalInfo

public string AdditionalInfo { get; set; }
Public Property AdditionalInfo As String
Value
String String

IsMet IsMet

public bool IsMet { get; }
Public ReadOnly Property IsMet As Boolean

SkipReason SkipReason

public string SkipReason { get; }
Public ReadOnly Property SkipReason As String
Value
String String

Methods

Equals(Object) Equals(Object)

Inherited from Attribute

Equals(Object, Object) Equals(Object, Object)

Inherited from Object

GetCustomAttribute(Assembly, Type) GetCustomAttribute(Assembly, Type)

Inherited from Attribute

GetCustomAttribute(Assembly, Type, Boolean) GetCustomAttribute(Assembly, Type, Boolean)

Inherited from Attribute

GetCustomAttribute(MemberInfo, Type) GetCustomAttribute(MemberInfo, Type)

Inherited from Attribute

GetCustomAttribute(MemberInfo, Type, Boolean) GetCustomAttribute(MemberInfo, Type, Boolean)

Inherited from Attribute

GetCustomAttribute(Module, Type) GetCustomAttribute(Module, Type)

Inherited from Attribute

GetCustomAttribute(Module, Type, Boolean) GetCustomAttribute(Module, Type, Boolean)

Inherited from Attribute

GetCustomAttribute(ParameterInfo, Type) GetCustomAttribute(ParameterInfo, Type)

Inherited from Attribute

GetCustomAttribute(ParameterInfo, Type, Boolean) GetCustomAttribute(ParameterInfo, Type, Boolean)

Inherited from Attribute

GetCustomAttributes(Assembly) GetCustomAttributes(Assembly)

Inherited from Attribute

GetCustomAttributes(Assembly, Boolean) GetCustomAttributes(Assembly, Boolean)

Inherited from Attribute

GetCustomAttributes(Assembly, Type) GetCustomAttributes(Assembly, Type)

Inherited from Attribute

GetCustomAttributes(Assembly, Type, Boolean) GetCustomAttributes(Assembly, Type, Boolean)

Inherited from Attribute

GetCustomAttributes(MemberInfo) GetCustomAttributes(MemberInfo)

Inherited from Attribute

GetCustomAttributes(MemberInfo, Boolean) GetCustomAttributes(MemberInfo, Boolean)

Inherited from Attribute

GetCustomAttributes(MemberInfo, Type) GetCustomAttributes(MemberInfo, Type)

Inherited from Attribute

GetCustomAttributes(MemberInfo, Type, Boolean) GetCustomAttributes(MemberInfo, Type, Boolean)

Inherited from Attribute

GetCustomAttributes(Module) GetCustomAttributes(Module)

Inherited from Attribute

GetCustomAttributes(Module, Boolean) GetCustomAttributes(Module, Boolean)

Inherited from Attribute

GetCustomAttributes(Module, Type) GetCustomAttributes(Module, Type)

Inherited from Attribute

GetCustomAttributes(Module, Type, Boolean) GetCustomAttributes(Module, Type, Boolean)

Inherited from Attribute

GetCustomAttributes(ParameterInfo) GetCustomAttributes(ParameterInfo)

Inherited from Attribute

GetCustomAttributes(ParameterInfo, Boolean) GetCustomAttributes(ParameterInfo, Boolean)

Inherited from Attribute

GetCustomAttributes(ParameterInfo, Type) GetCustomAttributes(ParameterInfo, Type)

Inherited from Attribute

GetCustomAttributes(ParameterInfo, Type, Boolean) GetCustomAttributes(ParameterInfo, Type, Boolean)

Inherited from Attribute

GetHashCode() GetHashCode()

Inherited from Attribute

GetType() GetType()

Inherited from Object

IsDefaultAttribute() IsDefaultAttribute()

Inherited from Attribute

IsDefined(Assembly, Type) IsDefined(Assembly, Type)

Inherited from Attribute

IsDefined(Assembly, Type, Boolean) IsDefined(Assembly, Type, Boolean)

Inherited from Attribute

IsDefined(MemberInfo, Type) IsDefined(MemberInfo, Type)

Inherited from Attribute

IsDefined(MemberInfo, Type, Boolean) IsDefined(MemberInfo, Type, Boolean)

Inherited from Attribute

IsDefined(Module, Type) IsDefined(Module, Type)

Inherited from Attribute

IsDefined(Module, Type, Boolean) IsDefined(Module, Type, Boolean)

Inherited from Attribute

IsDefined(ParameterInfo, Type) IsDefined(ParameterInfo, Type)

Inherited from Attribute

IsDefined(ParameterInfo, Type, Boolean) IsDefined(ParameterInfo, Type, Boolean)

Inherited from Attribute

Match(Object) Match(Object)

Inherited from Attribute

MemberwiseClone() MemberwiseClone()

Inherited from Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from Object

ToString() ToString()

Inherited from Object

TypeId TypeId

Inherited from Attribute

_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) System.Runtime.InteropServices._Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Inherited from Attribute

_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) System.Runtime.InteropServices._Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

Inherited from Attribute

_Attribute.GetTypeInfoCount(UInt32) System.Runtime.InteropServices._Attribute.GetTypeInfoCount(UInt32)

Inherited from Attribute

_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) System.Runtime.InteropServices._Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Inherited from Attribute