Class 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.
Namespace: Neon.Kube.Xunit
Assembly: Neon.Kube.Xunit.dll
Syntax
public sealed class KubeTestManager
Properties
Current
Returns the current test manager.
Declaration
public static KubeTestManager Current { get; }
Property Value
Type | Description |
---|---|
KubeTestManager |
TestFolder
Returns the path to the temporary test folder.
Declaration
public string TestFolder { get; }
Property Value
Type | Description |
---|---|
string |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()