th

package
v0.26.3 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close added in v0.23.9

func Close(closer io.Closer)

func ErrorSubstringCmp added in v0.23.19

func ErrorSubstringCmp(gotErr error, expect string) string

func GetHttpClient added in v0.23.17

func GetHttpClient() *http.Client

func HttpQuery added in v0.26.2

func HttpQuery(e fixenv.Env) string

func Logger added in v0.23.9

func Logger(t zaptest.TestingT) *zap.Logger

func NoLog

func NoLog(ctx context.Context) context.Context

func TcpListener added in v0.26.2

func TcpListener(e fixenv.Env) *net.TCPListener

func TestContext

func TestContext(t zaptest.TestingT) (ctx context.Context, flush func())

func TmpDir added in v0.25.0

func TmpDir(e fixenv.Env) string

Types

type Env added in v0.25.0

type Env struct {
	Ctx context.Context
	*fixenv.EnvT
	TD
}

func NewEnv added in v0.25.0

func NewEnv(t *testing.T) (env *Env, ctx context.Context, cancel func())

func (*Env) T added in v0.25.0

func (e *Env) T() fixenv.T

type TD added in v0.25.0

type TD struct {
	*testdeep.T
}

TD struct need for rename embedded field in Env

Jump to

Keyboard shortcuts

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