Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func MockVariable ¶
func MockVariable[T any](p *T, v T) (reset func())
func RequireTestFeatures ¶ added in v12.13.0
func RequireTestFeatures(t *testing.T, requiredFeatures ...TestFeature)
RequireTestFeatures skips a test if not all the given TestFeature instances are enabled.
Types ¶
type TestFeature ¶ added in v12.13.0
type TestFeature string
const ( // TestFeatureDocker enables tests that exercise functionality that requires Docker or Podman. TestFeatureDocker TestFeature = "docker" // TestFeatureLXC enables tests that exercise functionality that requires LXC. TestFeatureLXC TestFeature = "lxc" )
Click to show internal directories.
Click to hide internal directories.