testutils

package
v0.0.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ConfigContextKey ctxKey = "ConfigWithContextConfig"

ConfigContextKey identifies the ConfigWithContextConfig in context

Variables

This section is empty.

Functions

func CaptureOutput

func CaptureOutput(fn func()) (stdout string, stderr string)

func CreateTempAVSProject

func CreateTempAVSProject(t *testing.T) (string, error)

helper to create a temp AVS project dir with config.yaml copied

func FindSubcommandByName

func FindSubcommandByName(name string, commands []*cli.Command) *cli.Command

func WithTestConfig

func WithTestConfig(cmd *cli.Command) *cli.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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