Class ClusterTheoryAttribute
Used for marking test throry cases that access or provision NEONKUBE clusters by extending Xunit.TheoryAttribute and skipping these tests when they cannot or should not be executed on the current machine.
This works by looking for the presence of the NEON_CLUSTER_TESTING environment variable. This attribute will run the test case when this variable exists otherwise the test case will be skipped.
Namespace: Neon.Kube.Xunit
Assembly: Neon.Kube.Xunit.dll
Syntax
public class ClusterTheoryAttribute : TheoryAttribute
Constructors
ClusterTheoryAttribute()
Constructor.
Declaration
public ClusterTheoryAttribute()