Documentation
¶
Index ¶
- func Cmp[T any](t *testing.T, prefix string, want, got T, opts ...cmp.Option)
- func CmpError(t *testing.T, funcString string, wantErr, err error, opts ...cmp.Option)
- func CmpPanic[T any](t *testing.T, funcString string, f func() T, want interface{}, ...) T
- func FilepathAbs(t *testing.T, s ...string) string
- func StubValue[T any](t *testing.T, originalValue *T, newValue T)
- func TempFile(t *testing.T, pattern string) *os.File
- func Write(t *testing.T, iow io.Writer, contents []string)
- type GenericTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenericTest ¶
Click to show internal directories.
Click to hide internal directories.