Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AfterSuiteActions ¶ added in v1.18.0
func AfterSuiteActions()
AfterSuiteActions are actions that are run on ginkgo's SynchronizedAfterSuite
func CleanupSuite ¶ added in v1.18.0
func CleanupSuite()
CleanupSuite is the boilerplate that can be used after tests on ginkgo were run, on the SynchronizedAfterSuite step. Similar to SynchronizedBeforeSuite, we want to run some operations only once (such as collecting cluster logs). Here, the order of functions is reversed; first, the function which runs everywhere, and then the function that only runs on the first Ginkgo node.
func RunE2ETests ¶
RunE2ETests checks configuration parameters (specified through flags) and then runs E2E tests using the Ginkgo runner. If a "report directory" is specified, one or more JUnit test reports will be generated in this directory, and cluster logs will also be saved. This function is called on each Ginkgo node in parallel mode.
Types ¶
This section is empty.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package framework contains provider-independent helper code for building and running E2E tests with Ginkgo.
|
Package framework contains provider-independent helper code for building and running E2E tests with Ginkgo. |
config
Package config simplifies the declaration of configuration options.
|
Package config simplifies the declaration of configuration options. |
ginkgowrapper
Package ginkgowrapper wraps Ginkgo Fail and Skip functions to panic with structured data instead of a constant string.
|
Package ginkgowrapper wraps Ginkgo Fail and Skip functions to panic with structured data instead of a constant string. |
log
Package log will be removed after switching to use core framework log.
|
Package log will be removed after switching to use core framework log. |
podlogs
Package podlogs enables live capturing of all events and log messages for some or all pods in a namespace as they get generated.
|
Package podlogs enables live capturing of all events and log messages for some or all pods in a namespace as they get generated. |
testfiles
Package testfiles provides a wrapper around various optional ways of retrieving additional files needed during a test run: - builtin bindata - filesystem access Because it is a is self-contained package, it can be used by test/e2e/framework and test/e2e/manifest without creating a circular dependency.
|
Package testfiles provides a wrapper around various optional ways of retrieving additional files needed during a test run: - builtin bindata - filesystem access Because it is a is self-contained package, it can be used by test/e2e/framework and test/e2e/manifest without creating a circular dependency. |
Package network are the end-to-end tests for Kubernetes networking.
|
Package network are the end-to-end tests for Kubernetes networking. |
Package upgrades provides a framework for testing Kubernetes features before, during, and after different types of upgrades.
|
Package upgrades provides a framework for testing Kubernetes features before, during, and after different types of upgrades. |