Namespace Neon.Kube.Xunit
Classes
AwsClusterDefinitions
MAINTAINER ONLY: AWS cluster definitions used by maintainers for unit test clusters deployed by ClusterFixture on AWS.
AzureClusterDefinitions
MAINTAINER ONLY: Azure cluster definitions used by maintainers for unit test clusters deployed by ClusterFixture on Azure.
ClusterFactAttribute
Used for marking test cases that access or provision NEONKUBE clusters by extending Xunit.FactAttribute 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.
ClusterFixture
Fixture for testing against NEONKUBE clusters. This can execute against an existing cluster or it can manage the lifecycle of a new cluster during test runs.
note
The NEON_CLUSTER_TESTING
environment variable must be defined on the current
machine to enable this feature.
ClusterFixtureOptions
Options for the ClusterFixture.
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.
HyperVClusterDefinitions
MAINTAINER ONLY: Hyper-V cluster definitions used by maintainers for unit test clusters deployed by ClusterFixture on Hyper-V.
KubeTestHelper
Misc local unit test helpers.
KubeTestManager
Creates a temporary folder and puts KubeHelper into test mode to support neon-cli unit testing. Dispose() reverts the test mode and deletes the temporary folder.
XenServerClustersDefinitions
MAINTAINER ONLY: XenServer cluster definitions used by maintainers for unit test clusters deployed by ClusterFixture on XenServer.