Documentation ¶
Index ¶
- func AssertBooleanEquals(t *testing.T, expected bool, tested bool, msg string)
- func AssertDirExists(t *testing.T, path string)
- func AssertDurationEquals(t *testing.T, expected time.Duration, tested time.Duration, msg string)
- func AssertFileExists(t *testing.T, path string)
- func AssertFileNotExists(t *testing.T, path string)
- func AssertHasError(t *testing.T, err error)
- func AssertIntEquals(t *testing.T, expected int, tested int, msg string)
- func AssertNoError(t *testing.T, err error)
- func AssertStringContains(t *testing.T, haystack string, needle string, msg string)
- func AssertStringEquals(t *testing.T, expected string, tested string, msg string)
- func AssertStringIsNotEmpty(t *testing.T, haystack string, msg string)
- func PipeToLog(prefix string, rc io.ReadCloser)
- func PipeToLogrus(ctx log.FieldLogger, rc io.ReadCloser)
- func TestCreateTempDir(t *testing.T) (string, func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertBooleanEquals ¶
func AssertDirExists ¶
func AssertDurationEquals ¶
func AssertFileExists ¶
func AssertFileNotExists ¶
func AssertHasError ¶
func AssertNoError ¶
func AssertStringContains ¶
func AssertStringEquals ¶
func AssertStringIsNotEmpty ¶
func PipeToLog ¶
func PipeToLog(prefix string, rc io.ReadCloser)
func PipeToLogrus ¶
func PipeToLogrus(ctx log.FieldLogger, rc io.ReadCloser)
func TestCreateTempDir ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.