Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseTestingSuite ¶
type BaseTestingSuite struct { suite.Suite Ctx context.Context TestInstallation *e2e.TestInstallation TestCase map[string]*TestCase Setup SimpleTestCase }
func NewBaseTestingSuite ¶
func NewBaseTestingSuite(ctx context.Context, testInst *e2e.TestInstallation, setup SimpleTestCase, testCase map[string]*TestCase) *BaseTestingSuite
func (*BaseTestingSuite) AfterTest ¶
func (s *BaseTestingSuite) AfterTest(suiteName, testName string)
func (*BaseTestingSuite) BeforeTest ¶
func (s *BaseTestingSuite) BeforeTest(suiteName, testName string)
func (*BaseTestingSuite) SetupSuite ¶
func (s *BaseTestingSuite) SetupSuite()
func (*BaseTestingSuite) TearDownSuite ¶
func (s *BaseTestingSuite) TearDownSuite()
type SimpleTestCase ¶
type SimpleTestCase struct { // manifest files Manifests []string // Resources expected to be created by manifest Resources []client.Object }
SimpleTestCase defines the resources used by a specific test
type TestCase ¶
type TestCase struct { // SimpleTestCase defines the resources used by a specific test SimpleTestCase // SubTestCases contains a map for hierarchial tests within the current test // Eg: TestRateLimit // |- OnVhost // |- OnRoute SubTestCases map[string]*TestCase }
This defines a test case used by the BaseTestingSuite
Click to show internal directories.
Click to hide internal directories.