Documentation ¶
Index ¶
- func AsJSON(t *testing.T, v interface{}) string
- func CreateTestFile(t *testing.T, path string)
- func CreateTestFileWithData(t *testing.T, path, data string)
- func FileDir() string
- func GetTestFixture(t *testing.T, path string) string
- func LogJSON(t *testing.T, v interface{})
- func ServeFromFilePath(t *testing.T, data string) string
- func TempFilename(prefix string) string
- func TestFixtureFilePath(t *testing.T, path string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestFile ¶ added in v0.61.0
func CreateTestFileWithData ¶ added in v0.61.0
func TempFilename ¶ added in v0.55.0
Generates a temporary filename
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.