Documentation
¶
Overview ¶
Package runner provides the definition of a Runner and a runner Builder.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface {
// Build builds a new test runner using the provided description.
Build(runnerType loader.TestRunnerType, logger logr.Logger, description *Description) (Runner, error)
}
Builder allows to build a new test runner.
type Description ¶
type Description struct {
// Environ is a list of strings representing the environment, in the form "key=value".
Environ []string
// TestDescriptionEnvKey is the key identifying the environment variable used to store the serialized test
// description.
TestDescriptionEnvKey string
// TestDescriptionFileEnvKey is the key identifying the environment variable used to store paths of the files
// containing the serialized tests description.
TestDescriptionFileEnvKey string
// TestDescriptionDirEnvKey is the key identifying the environment variable used to store paths of the directories
// containing the test description files.
TestDescriptionDirEnvKey string
// TestIDEnvKey is the key identifying the environment variable used to store the test identifier in the form
// [<ignorePrefix>]<testUID>.
TestIDEnvKey string
// TestIDIgnorePrefix is the optional testID prefix value.
TestIDIgnorePrefix string
// BaggageEnvKey is the key identifying the environment variable used to store the baggage.
BaggageEnvKey string
// Baggage is the process baggage.
Baggage *baggage.Baggage
}
Description contains information to build a new test runner.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package builder provides an implementation of runner.Builder.
|
Package builder provides an implementation of runner.Builder. |
|
Package host provides an implementation of runner.Runner enabling test execution on the host system.
|
Package host provides an implementation of runner.Runner enabling test execution on the host system. |
Click to show internal directories.
Click to hide internal directories.