Documentation ¶
Index ¶
- func AfterEachCheck() error
- func AfterEachCheckResourceOnly() error
- func AfterEachK8sCheck() error
- func BeforeEachCheck() error
- func BeforeEachK8sCheck() error
- func BeforeSuiteFailed()
- func GenerateSupportBundleIfTestFailed()
- func InitTesting(t *testing.T, classname string, reportname string)
- func SetupTestEnv() error
- func SetupTestEnvBasic() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AfterEachCheck ¶
func AfterEachCheck() error
AfterEachCheck asserts that the state of mayastor resources has been restored. and generates a support bundle if the test failed.
func AfterEachCheckResourceOnly ¶
func AfterEachCheckResourceOnly() error
AfterEachCheckResourceOnly asserts that the state of mayastor resources has been restored. This function exists for tests which are disruptive and need more control when performing checks after a test case has completed
func AfterEachK8sCheck ¶
func AfterEachK8sCheck() error
func BeforeEachCheck ¶
func BeforeEachCheck() error
BeforeEachCheck asserts that the state of mayastor resources is fit for the test to run
func BeforeEachK8sCheck ¶
func BeforeEachK8sCheck() error
func BeforeSuiteFailed ¶
func BeforeSuiteFailed()
func GenerateSupportBundleIfTestFailed ¶
func GenerateSupportBundleIfTestFailed()
GenerateSupportBundleIfTestFailed Support function to generate a support bundle if the testcase has failed This function exists for tests which are disruptive and need more control when performing checks after a test case has completed
func InitTesting ¶
InitTesting initialise testing and setup class name + report filename.
func SetupTestEnv ¶
func SetupTestEnv() error
func SetupTestEnvBasic ¶
func SetupTestEnvBasic() error
Types ¶
This section is empty.