Documentation ¶
Overview ¶
Package test provides testable errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State interface { Cleanup(f func()) Deadline() (deadline time.Time, ok bool) Error(args ...interface{}) Errorf(format string, args ...interface{}) Fail() FailNow() Failed() bool Fatal(args ...interface{}) Fatalf(format string, args ...interface{}) Helper() Log(args ...interface{}) Logf(format string, args ...interface{}) Name() string Parallel() Run(name string, f func(t *testing.T)) bool Skip(args ...interface{}) SkipNow() Skipf(format string, args ...interface{}) Skipped() bool TempDir() string }
State is an interface of *testing.T
Click to show internal directories.
Click to hide internal directories.