Documentation
¶
Index ¶
- func CmpDiff(t *testing.T, methodUnderTest string, testCase string, desc string, ...) bool
- func ExpectPanic(t *testing.T, methodUnderTest string, testCase string, wantPanic string)
- func ExpectPanicWithOutput(t *testing.T, methodUnderTest string, testCase string, out fmt.Stringer, ...)
- func HomelabBaseDir() string
- func LogCustom(t *testing.T, methodUnderTest string, testCase string, custom string)
- func LogCustomWithOutput(t *testing.T, methodUnderTest string, testCase string, out fmt.Stringer, ...)
- func LogErrorNil(t *testing.T, methodUnderTest string, testCase string, want string)
- func LogErrorNilWithOutput(t *testing.T, methodUnderTest string, testCase string, out fmt.Stringer, ...)
- func LogErrorNotNil(t *testing.T, methodUnderTest string, testCase string, gotErr error)
- func LogErrorNotNilWithOutput(t *testing.T, methodUnderTest string, testCase string, out fmt.Stringer, ...)
- func NewInt(i int) *int
- func NewLogLevel(lvl tuxlog.Level) *tuxlog.Level
- func Pwd() string
- func RegexMatch(t *testing.T, methodUnderTest string, testCase string, desc string, ...) bool
- func RegexMatchJoinNewLines(t *testing.T, methodUnderTest string, testCase string, desc string, ...) bool
- func RegexMatchWithOutput(t *testing.T, methodUnderTest string, testCase string, out fmt.Stringer, ...) bool
- func SetTestEnv(t *testing.T, envs TestEnvMap)
- type TestEnvMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectPanic ¶
func ExpectPanicWithOutput ¶
func HomelabBaseDir ¶
func HomelabBaseDir() string
func LogCustomWithOutput ¶
func LogErrorNil ¶
func LogErrorNilWithOutput ¶
func LogErrorNotNil ¶
func RegexMatch ¶
func RegexMatchJoinNewLines ¶
func RegexMatchWithOutput ¶
func SetTestEnv ¶
func SetTestEnv(t *testing.T, envs TestEnvMap)
Types ¶
type TestEnvMap ¶
Click to show internal directories.
Click to hide internal directories.