test

package
v0.0.0-...-3131eb7 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package test contains simple test helpers that should not have any service-specific dependencies. think constants, custom matchers, generic helpers etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithLogBuffer

func ContextWithLogBuffer() (context.Context, *bytes.Buffer)

ContextWithLogBuffer returns a context and a buffer into which the new, bound logger will write into. This method allows you to inspect what data was logged more easily in your tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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