tests

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ClusterEnv = "HELMTIDE_TEST_CLUSTER"

ClusterEnv names the kubeconfig, by absolute path, to run cluster-dependent tests against. Setting it both selects the cluster and turns the isolation off; nothing else does either.

View Source
const Root = "../../tests/"

Root is rootdir for test files.

Variables

View Source
var ErrTestTimeout = errors.New("tests timeout exceeded")

Functions

func GetContext

func GetContext(t *testing.T) context.Context

func RequireCluster

func RequireCluster(t *testing.T)

RequireCluster skips a test unless a cluster was explicitly provided, so a suite that needs one is opted into rather than silently borrowing whichever cluster the developer happens to be logged into.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL