commonTesting

package
v0.0.0-...-80164ef Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DisableIntegrationTestEnvKey = "INTEGRATION_TEST_DISABLE"

Variables

This section is empty.

Functions

func AssertErrorCodes

func AssertErrorCodes(t *testing.T, err error, expectedErrorCodes []errors.ErrorCode)

func AssertErrors

func AssertErrors(t *testing.T, err error, expectedErrors []error)

func AssertFieldIsNil

func AssertFieldIsNil(t *testing.T, object interface{}, fieldName string)

func AssertFieldNotNil

func AssertFieldNotNil(t *testing.T, object interface{}, fieldName string)

func AssertFieldValue

func AssertFieldValue(
	t *testing.T,
	object interface{},
	fieldName string,
	expectedFieldValue interface{},
)

func AssertFieldsNotNil

func AssertFieldsNotNil(t *testing.T, object interface{})

func IsSkipIntegrationTest

func IsSkipIntegrationTest() bool

func SkipIntegrationTestIfNeed

func SkipIntegrationTestIfNeed(T *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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