Documentation
¶
Overview ¶
mockt implements a system for mocking testing.T.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type T ¶
type T interface {
// Fail marks the test as failed, see [testing.T.Fail].
Fail()
// Failed returns if the test has failed or not, see
// [testing.T.Failed].
Failed() bool
// Fatal is a wrapper around [testing.T.Fatal].
Fatal(args ...interface{})
// Cleanup is a wrapper around [testing.T.Cleanup].
Cleanup(func())
}
Click to show internal directories.
Click to hide internal directories.