Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultTimeOut is the default time in seconds // for Eventually block DefaultTimeOut int = 600 // DefaultPollingInterval is the default polling // time in seconds for the Eventually block DefaultPollingInterval int = 10 // NodeCountOne is the 1 node // needed to run this test NodeCountOne int = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct { BaseName string // configuration for framework's options Options FrameworkOptions }
Framework supports common operations used by tests
func NewFramework ¶
func NewFramework(baseName string, options FrameworkOptions) *Framework
NewFramework creates a test framework.
func NewFrameworkDefault ¶
func NewFrameworkDefault(baseName string, options ...FrameworkOptions) *Framework
NewFrameworkDefault makes a framework using default values and sets up a BeforeEach/AfterEach
func (*Framework) AfterSuite ¶
func (f *Framework) AfterSuite()
AfterSuite clean up openebs control plane components created by BeforeSuite
func (*Framework) BeforeSuite ¶
func (f *Framework) BeforeSuite()
BeforeSuite installs openebs control plane components
type FrameworkOptions ¶
type FrameworkOptions struct { MinNodeCount int Artifacts artifacts.ArtifactSource }
FrameworkOptions provide different options specfic to tests
Click to show internal directories.
Click to hide internal directories.