test

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestConfig

type TestConfig struct{}

func NewTestConfig

func NewTestConfig() *TestConfig

func (*TestConfig) Get

func (t *TestConfig) Get(keys ...TestConfigKey) (val string)

func (*TestConfig) GetOrAbort

func (t *TestConfig) GetOrAbort(testing *testing.T, keys ...TestConfigKey) (val string)

func (*TestConfig) GetOrSkip

func (t *TestConfig) GetOrSkip(testing *testing.T, keys ...TestConfigKey) (val string)

func (*TestConfig) SkipUnlessAccTest

func (t *TestConfig) SkipUnlessAccTest(testing *testing.T)

type TestConfigKey

type TestConfigKey int
const (
	TestConfigHSendgridAPIKey TestConfigKey = iota
	TestConfigAcceptanceTestKey
)

func (TestConfigKey) String

func (k TestConfigKey) String() (name string)

Jump to

Keyboard shortcuts

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