acceptance

package
v0.87.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var TestAccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){
	"snowflake": func() (tfprotov6.ProviderServer, error) {
		return v6Server, nil
	},
}
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)

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