testutil

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChdirToTempDir

func ChdirToTempDir(prefix string) string

ChdirToTempDir creates and changes the working directory to new tmp dir

func RegisterTestDeps

func RegisterTestDeps(path ...string)

RegisterTestDeps ensures that the test calling this function is rerun (despite caching) if any of the files and directories (and their recursive contents) under the provided paths change.

Types

This section is empty.

Jump to

Keyboard shortcuts

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