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 TestAccProviders ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.