Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockTestingT ¶
type MockTestingT struct {
// contains filtered or unexported fields
}
MockTestingT simulates *testing.T for testing purposes. It records output in a buffer for verification during tests.
func (*MockTestingT) Error ¶
func (m *MockTestingT) Error(args ...any)
Error writes error messages to the internal buffer.
func (*MockTestingT) Fatal ¶
func (m *MockTestingT) Fatal(args ...any)
Fatal writes fatal messages to the internal buffer.
func (*MockTestingT) Helper ¶
func (m *MockTestingT) Helper()
func (*MockTestingT) String ¶
func (m *MockTestingT) String() string
String returns the current content of the buffer.
Click to show internal directories.
Click to hide internal directories.