package
1.10.0
Repository: https://github.com/stretchr/testify.git
Documentation: pkg.go.dev

# Functions

AnythingOfType returns a special value containing the name of the type to check for.
AssertExpectationsForObjects asserts that everything specified with On and Return of the specified objects was in fact called as expected.
FunctionalOptions returns an [FunctionalOptionsArgument] object containing the expected functional-options to check for.
InOrder defines the order in which the calls should be made For example: InOrder( Mock.On("init").Return(nil), Mock.On("Do").Return(nil), ).
IsType returns an IsTypeArgument object containing the type to check for.
MatchedBy can be used to match a mock call based on only certain properties from a complex struct or some calculation.

# Constants

Anything is used in Diff and Assert when the argument being tested shouldn't be taken into consideration.

# Structs

Call represents a method call and is used for setting expectations, as well as recording activity.
FunctionalOptionsArgument contains a list of functional options arguments expected for use when matching a list of arguments.
IsTypeArgument is a struct that contains the type of an argument for use when type checking.
Mock is the workhorse used to track activity on another object.

# Interfaces

TestingT is an interface wrapper around *testing.T.

# Type aliases

AnythingOfTypeArgument contains the type of an argument for use when type checking.
Arguments holds an array of method arguments or return values.