testutils

package
v0.0.0-...-83efb8c Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckGoldenFile

func CheckGoldenFile(t TestingT, actual []byte, expectFilePath string)

func FindOptionBool

func FindOptionBool(t TestingT, optionName, source string) bool

func FindOptionString

func FindOptionString(t TestingT, optionName, source string) string

func FindSchemaFileName

func FindSchemaFileName(t TestingT, source string) string

Types

type TestingT

type TestingT interface {
	Helper()
	Log(args ...interface{})
	Logf(format string, args ...interface{})
	Error(args ...interface{})
	Errorf(format string, args ...interface{})
	Fatal(args ...interface{})
	Fatalf(format string, args ...interface{})
}

Jump to

Keyboard shortcuts

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