testutils

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestLogger = log.
	Output(
		zerolog.ConsoleWriter{
			Out:        os.Stdout,
			TimeFormat: time.RFC3339,
		},
	).
	Level(zerolog.TraceLevel).
	With().
	Caller().
	Logger()

Functions

func ConfigureTestLoggerForGinkgo

func ConfigureTestLoggerForGinkgo()

func GetMockGorm

func GetMockGorm() (sqlMock sqlmock.Sqlmock, gormDb *gorm.DB, err error)

func ReadFile

func ReadFile(t *testing.T, filePath string) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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