package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Aug 15, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
TempDir creates a new temporary directory inside the current test context.
It deletes the directory when the test finishes.
TempFile creates a new temporary file inside the current test context.
It deletes the file when the test finishes.
type T interface {
Helper()
Cleanup(func())
Fatalf(string, ...interface{})
Errorf(string, ...interface{})
}
T is a subset of the testing.T interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.