tests

package
v0.0.0-...-eecab09 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 4 Imported by: 0 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

This section is empty.

Variables

View Source
var ErrAssertionFailed = errors.New("assertion failed")
View Source
var ErrFieldDoesNotExist = errors.New("field does not exist")
View Source
var ErrFieldDoesNotMatch = errors.New("field does not match")

Functions

func AssertActual

func AssertActual(a actualAssertion, actual interface{}, msgAndArgs ...interface{}) error

assertActual is a helper function to allow the step function to call assertion functions where you want to compare an actual value to a predined state like nil, empty or true/false.

func AssertExpectedAndActual

func AssertExpectedAndActual(a expectedAndActualAssertion, expected, actual interface{}, msgAndArgs ...interface{}) error

func CompareFields

func CompareFields(a, b interface{}, fields []string) error

Types

This section is empty.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
role
Package role is a generated GoMock package.
Package role is a generated GoMock package.
user
Package user is a generated GoMock package.
Package user is a generated GoMock package.

Jump to

Keyboard shortcuts

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