tester

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaseName added in v0.1.6

func CaseName(obj ...any) string

func FindProjectRoot added in v0.1.7

func FindProjectRoot() string

mustFindProjectRoot finds the project root by looking for "go.mod" file.

func RunChild added in v0.1.6

func RunChild(testFunc func()) (stdout string, stderr string, err error)

func SetupDir added in v0.1.7

func SetupDir(t *testing.T, pathsToCopy map[string]string) (string, func())

SetupDir sets up a temporary test environment by copying necessary files and directories.

Types

This section is empty.

Jump to

Keyboard shortcuts

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