e2e_ginkgo

package
v0.0.0-...-ea271bc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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

func InitTesting(t *testing.T, classname string, reportname string)

InitTesting initialise testing and setup class name + report filename.

func SetupTestEnv

func SetupTestEnv() error

func SetupTestEnvBasic

func SetupTestEnvBasic() error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL