# Functions
NewTestContext returns a context suitable for use within unit tests.
NewTestContext returns a context (and logger) suitable for use within unit tests.
No description provided by the author
WithConfig returns a TestContextOpt that adds the given configuration into the test context.
WithLogLevel returns a TestContextOpt that sets the log level within the test context.
WithLogPayload returns a TestContextOpt that sets the configuration option within the test context to log the payload contents or not.
# Structs
No description provided by the author
No description provided by the author
The TestLogger is an implementation of log.Logger suitable for use within unit tests.
# Interfaces
TestContextOpt is an interface to help configure the test context.