testutils

package
v0.0.0-...-b12587e Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TestRoot = filepath.Dir(filepath.Dir(filename))
	TestData = filepath.Join(TestRoot, "data")
)

Functions

func Data

func Data(path string) string

func ForEachOverlay

func ForEachOverlay(t *testing.T, path string, test func(*testing.T, *over.Overlay))

func TestConfig

func TestConfig(home string) *over.Config

func WithTempCopy

func WithTempCopy(t *testing.T, src string, callback func(path string))

func WithTempDir

func WithTempDir(t *testing.T, name string, callback func(path string))

Types

This section is empty.

Jump to

Keyboard shortcuts

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