Versions in this module Expand all Collapse all v0 v0.0.2 Oct 4, 2022 Changes in this version + func Main(m *testing.M, fn func(m *M)) type M + func (m *M) Name() string + func (m *M) Run() (code int) v0.0.1 Oct 2, 2022 Changes in this version + func M(m *testing.M, fn func(c *MC) int) int + type C struct + func (*C) Helper() + func (*C) Log(args ...any) + func (*C) Logf(format string, args ...any) + func (*C) Name() string + func (c *C) Cleanup(f func()) + func (c *C) Error(args ...any) + func (c *C) Errorf(format string, args ...any) + func (c *C) Fail() + func (c *C) FailNow() + func (c *C) Failed() bool + func (c *C) Fatal(args ...any) + func (c *C) Fatalf(format string, args ...any) + func (c *C) Setenv(key, value string) + func (c *C) Skip(args ...any) + func (c *C) SkipNow() + func (c *C) Skipf(format string, args ...any) + func (c *C) Skipped() bool + func (c *C) TempDir() string + type MC struct + func (c *MC) Name() string + func (c *MC) Run() (code int) + type T struct + func (t *T) Error(args ...any) + func (t *T) Errorf(format string, args ...any) + func (t *T) Fatal(args ...any) + func (t *T) Fatalf(format string, args ...any) + func (t *T) Log(args ...any) + func (t *T) Logf(format string, args ...any) + func (t *T) Name() string + func (t *T) Skip(args ...any) + func (t *T) Skipf(format string, args ...any) + type TestResult struct + func Test(fn func(t *T)) *TestResult + func (r *TestResult) Error() string + func (r *TestResult) Failed() bool + func (r *TestResult) Logs() []byte + func (r *TestResult) Skipped() bool