test

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: Apache-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) GetPagerDutyAPIKeyorAbort

func (t *TestConfig) GetPagerDutyAPIKeyorAbort(testing *testing.T) (val string)

func (*TestConfig) GetTeamEmailAddress added in v1.5.0

func (t *TestConfig) GetTeamEmailAddress(testing *testing.T) (val string)

func (*TestConfig) GetTeamIDorAbort added in v1.5.0

func (t *TestConfig) GetTeamIDorAbort(testing *testing.T) (val string)

func (*TestConfig) GetUserEmailOrAbort added in v1.2.0

func (t *TestConfig) GetUserEmailOrAbort(testing *testing.T) (val string)

func (*TestConfig) SkipUnlessAccTest

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

type TestConfigKey

type TestConfigKey int
const (
	TestConfigAccountAccessToken TestConfigKey = iota
	TestConfigProjectAccessToken
	TestConfigAcceptanceTestKey
	TestConfigPagerDutyAPIKey
	TestConfigUserEmailKey
	TestConfigTeamID
	TestConfigEmailAddress
)

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