Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixedTempDir ¶ added in v0.1.4
FixedTempDir creates a temp dir with a fixed name (without any random parts) and cleans it up on a successful test. The dir is cleared before this function returns.
func NewTestLogBackend ¶
NewTestLogBackend returns a log backend that can be used as an io.Writer to write logs to during a test.
func TempTestDir ¶ added in v0.1.4
TempTestDir returns a temp dir for a test that only gets cleaned up if the test does not fail.
func TestLoggerBackend ¶
TestLoggerBackend returns a function that generates loggers for subsystems, all of which log by calling t.Log.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.