clitest

package
v0.6.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicConfigPath

func BasicConfigPath(t *testing.T) string

BasicConfigPath materialises a minimal Dockform configuration for CLI tests.

func WithCustomDockerStub

func WithCustomDockerStub(t *testing.T, script string) func()

WithCustomDockerStub installs a custom docker stub script and prepends PATH with it.

func WithStubDocker

func WithStubDocker(t *testing.T) func()

WithStubDocker prepends PATH with a standard docker stub used in CLI tests.

func WriteDockerStub

func WriteDockerStub(t *testing.T, dir string) string

WriteDockerStub creates a docker stub script with basic behaviors used across CLI tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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