acctest

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// RecordingsDomain is used for testing with our recorded http interactions.
	RecordingsDomain = recordingsTenant + ".eu.auth0.com"
)

Variables

This section is empty.

Functions

func ExtractResourceAttributeFromState added in v0.49.0

func ExtractResourceAttributeFromState(state *terraform.State, name, key string) (string, error)

ExtractResourceAttributeFromState extracts the value of a resource's attribute into the target.

func ParseTestName added in v0.45.0

func ParseTestName(rawTemplate, testName string) string

ParseTestName renders templates defined with {{.testName}} placeholders.

func Test

func Test(t *testing.T, testCase resource.TestCase)

Test checks to see if http recordings are enabled and runs the tests in parallel if they are, otherwise it simply wraps resource.Test.

func TestFactories

func TestFactories() map[string]func() (*schema.Provider, error)

TestFactories returns the configured auth0 provider used in testing.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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