testutils

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTestDB

func GetTestDB() (*sqlx.DB, func())

GetTestDB return pointer of testDB

func GetTestDatastore

func GetTestDatastore() (datastore.Datastore, func())

GetTestDatastore return pointer of datastore

func GetTestURL added in v1.4.2

func GetTestURL() string

GetTestURL return url of httptest.Server

func IntegrationTestRunner

func IntegrationTestRunner(m *testing.M) int

IntegrationTestRunner is all integration test

Types

This section is empty.

Jump to

Keyboard shortcuts

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