testutils

package
v0.0.0-...-d3da680 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package testutils contains various utility functions/types for writing tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewShouldResemberMatcher

func NewShouldResemberMatcher(expected any) shouldResembleMatcher

NewShouldResemberMatcher constrcuts a gomock.Matcher that performs convey.ShouldResemble(actual, expected).

func SetUpTestGlobalCache

func SetUpTestGlobalCache(ctx context.Context) context.Context

SetUpTestGlobalCache sets up GlobalCache in the context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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