testutil

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvVarSkipVaultNext = "SKIP_VAULT_NEXT_TESTS"
)

Variables

This section is empty.

Functions

func FatalTestEnvUnset

func FatalTestEnvUnset(t *testing.T, envVars ...string) []string

FatalTestEnvUnset fails the test if any of the provided environment variables have non-empty values.

func SkipTestAcc

func SkipTestAcc(t *testing.T)

func SkipTestAccEnt

func SkipTestAccEnt(t *testing.T)

func SkipTestEnvSet

func SkipTestEnvSet(t *testing.T, envVars ...string) []string

SkipTestEnvSet skips the test if any of the provided environment variables have a non-empty value.

func SkipTestEnvUnset

func SkipTestEnvUnset(t *testing.T, envVars ...string) []string

SkipTestEnvUnset skips the test if any of the provided environment variables are empty/unset.

func TestAccPreCheck

func TestAccPreCheck(t *testing.T)

func TestCheckResourceAttrJSON

func TestCheckResourceAttrJSON(name, key, expectedValue string) resource.TestCheckFunc

func TestEntPreCheck

func TestEntPreCheck(t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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