testmock

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeT

type FakeT struct{ mock.Mock }

func NewFakeT

func NewFakeT() *FakeT

func (*FakeT) Cleanup

func (m *FakeT) Cleanup(_ func())

func (*FakeT) Error

func (m *FakeT) Error(args ...any)

func (*FakeT) Errorf

func (m *FakeT) Errorf(format string, args ...any)

func (*FakeT) Errors

func (m *FakeT) Errors() []string

Errors returns the messages of the Errorf calls the fake received, formatted, in the order it received them.

func (*FakeT) Helper

func (m *FakeT) Helper()

func (*FakeT) Logf

func (m *FakeT) Logf(format string, args ...any)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL