acceptance

package
v0.80.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestDatabaseName  = "terraform_test_database"
	TestSchemaName    = "terraform_test_schema"
	TestWarehouseName = "terraform_test_warehouse"
)

Variables

View Source
var TestAccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){
	"snowflake": func() (tfprotov6.ProviderServer, error) {
		return tf5to6server.UpgradeServer(
			context.Background(),
			TestAccProvider.GRPCProvider,
		)
	},
}
View Source
var TestAccProvider *schema.Provider

Functions

func ConfigurationDirectory added in v0.77.0

func ConfigurationDirectory(directory string) func(config.TestStepConfigRequest) string

ConfigurationDirectory should be used to obtain configuration if the same can be shared between multiple tests to avoid duplication of configuration and var files. Based on config.TestNameDirectory. Similar to config.StaticDirectory but prefixed provided directory with `testdata`.

func ConfigurationSameAsStepN added in v0.76.0

func ConfigurationSameAsStepN(step int) func(config.TestStepConfigRequest) string

ConfigurationSameAsStepN should be used to obtain configuration for one of the previous steps to avoid duplication of configuration and var files. Based on config.TestStepDirectory.

func TestAccPreCheck

func TestAccPreCheck(t *testing.T)

func TestAccProviders

func TestAccProviders() map[string]*schema.Provider

Types

This section is empty.

Jump to

Keyboard shortcuts

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