testing

package
v1.0.1325-c79c197 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package testing contains various helpers in sub packages for writing high value tests.

Directories

Path Synopsis
Package compiler helps efficiently compile and cleanup your services in acceptance tests.
Package compiler helps efficiently compile and cleanup your services in acceptance tests.
Package dbfixture will setup a and reset a fresh database for each of your tests.
Package dbfixture will setup a and reset a fresh database for each of your tests.
Package download helps download releases of binaries for using in end to end service testing.
Package download helps download releases of binaries for using in end to end service testing.
Package fakemetrics provides an implementation of the o11y metrics provider that will record all metrics you send it.
Package fakemetrics provides an implementation of the o11y metrics provider that will record all metrics you send it.
Package httprecorder provides a simple way of recording and later retrieving all requests that are sent to an HTTP handler.
Package httprecorder provides a simple way of recording and later retrieving all requests that are sent to an HTTP handler.
Package kongtest helps write golden tests for your [Kong](https://github.com/alecthomas/kong) CLI parsing.
Package kongtest helps write golden tests for your [Kong](https://github.com/alecthomas/kong) CLI parsing.
Package rabbitfixture will setup isolated RabbitMQ VHost for your tests, so they don't interfere.
Package rabbitfixture will setup isolated RabbitMQ VHost for your tests, so they don't interfere.
Package redisfixture will setup an isolated Redis DB for your tests, so they don't interfere.
Package redisfixture will setup an isolated Redis DB for your tests, so they don't interfere.
Package releases is a helper to determine which binaries to download for end to end tests.
Package releases is a helper to determine which binaries to download for end to end tests.
Package runner allows you to run a binary in an acceptance test (scan output for ports, wait for start).
Package runner allows you to run a binary in an acceptance test (scan output for ports, wait for start).
Package testcontext provides a context with o11y wired in, setup for coloured logging and no-op metrics.
Package testcontext provides a context with o11y wired in, setup for coloured logging and no-op metrics.

Jump to

Keyboard shortcuts

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