package htesting
import "github.com/gohugoio/hugo/htesting"
Index ¶
- func CreateTempDir(fs afero.Fs, prefix string) (string, func(), error)
- func NewTestdataBuilder(fs afero.Fs, workingDir string, t testing.TB) *testdataBuilder
Functions ¶
func CreateTempDir ¶
CreateTempDir creates a temp dir in the given filesystem and returns the dirnam and a func that removes it when done.
func NewTestdataBuilder ¶
Source Files ¶
test_helpers.go testdata_builder.go
Directories ¶
Path | Synopsis |
---|---|
htesting/hqt |
- Version
- v0.57.0
- Published
- Aug 14, 2019
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 10 minutes ago –
Tools for package owners.