test

package
v0.0.0-...-72b452d Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package test runs test coverage over the API router from the outside looking in.

Index

Constants

View Source
const (
	Amount = 123.45

	ChargeOne   = 1.01
	ChargeTwo   = 2.02
	ChargeThree = 3.03
)

Variables

This section is empty.

Functions

func SetupDocker

func SetupDocker(t *testing.T) (purge func(), cs string)

SetupDocker sets up a MongoDB container with dockertest and returns a purge function (which should be deferred) and a connection string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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