Documentation
¶
Overview ¶
Package env provides a test environment builder for acceptance tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestEnv ¶
type TestEnv struct {
// HomeDir is the temp home directory for this test.
HomeDir string
// CircleCIURL overrides the CircleCI API base URL (for fake servers).
CircleCIURL string
// ExtensionRegistryURL overrides the CircleCI extension registry URL (for fake registries).
ExtensionRegistryURL string
// Token is the CircleCI API token injected via environment variable.
Token string
// Telemetry enables telemetry collection.
Telemetry bool
// Extra holds additional environment variables.
Extra map[string]string
}
TestEnv holds the environment configuration for a single test run.
Click to show internal directories.
Click to hide internal directories.