testhelpers

package
v0.0.0-...-3b5fe6f Latest Latest
Warning

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

Go to latest
Published: May 19, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIAddress

func APIAddress(t *testing.T) string

APIAddress returns http address of the API under test, populated by env vars API_HOST and API_PORT

func DBConnection

func DBConnection(t *testing.T, models ...interface{}) *gorm.DB

DBConnection gets a DB connection

Types

This section is empty.

Jump to

Keyboard shortcuts

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