commonTesting

package
v0.0.0-...-6dda8ec Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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