ginkgoutil

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertExpectations

func AssertExpectations(mocks ...Mock)

func AssertNotCalled

func AssertNotCalled(mock Mock, methodName string)

func ExpectFuncsEqual

func ExpectFuncsEqual(f1, f2 interface{})

func NewLogger

func NewLogger() *zap.Logger

func ParseYAML

func ParseYAML(data string) map[string]interface{}

func ReplaceGlobalLogger

func ReplaceGlobalLogger() *zap.Logger

func RunSuite

func RunSuite(t *testing.T, description string)

func SetupSuite

func SetupSuite()

Types

type Mock

type Mock interface {
	AssertExpectations(t mock.TestingT) bool
	AssertNotCalled(t mock.TestingT, methodName string, arguments ...interface{}) bool
}

Jump to

Keyboard shortcuts

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