Documentation ¶
Overview ¶
Package testutils provides general purpose utility functions for unit/integration testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
type Attributes []abci.EventAttribute
Attributes wraps sdk.EventAttribute
func (Attributes) Filter ¶
func (attributes Attributes) Filter(predicate func(abci.EventAttribute) bool) Attributes
Filter returns a collection of attributes filtered by the predicate
type ErrorCache ¶
type ErrorCache struct {
Error error
}
ErrorCache is a struct that can be used to get at the error that is emitted by test assertions when passing it instead ot *testing.T
func (*ErrorCache) Errorf ¶
func (ec *ErrorCache) Errorf(format string, args ...interface{})
Errorf records the given formatted string as an erro
Click to show internal directories.
Click to hide internal directories.