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
- Version
- v0.56.3
- Published
- Jul 31, 2019
- Platform
- windows/amd64
- Imports
- 5 packages
- Last checked
- 2 minutes ago –
Tools for package owners.