Documentation ¶
Overview ¶
Package testtb provides a common testing interface.
It is a separate package to avoid dependency cycles.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TB ¶
type TB interface { Cleanup(func()) Error(args ...any) Errorf(format string, args ...any) Fail() FailNow() Failed() bool Fatal(args ...any) Fatalf(format string, args ...any) Helper() Log(args ...any) Logf(format string, args ...any) Name() string Setenv(key, value string) Skip(args ...any) SkipNow() Skipf(format string, args ...any) Skipped() bool TempDir() string }
TB is a copy of testing.TB without a private method. It allows us to implement it.
Click to show internal directories.
Click to hide internal directories.