Help us shape the future of Go! Take the 2026 Go Developer Survey

test

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidRecord

func IsInvalidRecord(t TestingT, name string, r record, errorValidators ...func(t *testing.T, err error))

func IsInvalidRequest

func IsInvalidRequest(t TestingT, name string, r request, errorValidators ...func(t *testing.T, err error))

func IsValidRecord

func IsValidRecord(t TestingT, name string, r record)

func IsValidRequest

func IsValidRequest(t TestingT, name string, r request)

Types

type TestingT added in v0.15.2

type TestingT interface {
	Helper()
	Run(name string, f func(t *testing.T)) bool
	Error(args ...interface{})
	Errorf(format string, args ...interface{})
}

Jump to

Keyboard shortcuts

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