acctest_helper

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestAccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){
	"dbtcloud": func() (tfprotov6.ProviderServer, error) {
		return providerserver.NewProtocol6(provider.New())(), nil
	},
}

Functions

func GetSemanticLayerConfigTestingConfigurations added in v1.0.0

func GetSemanticLayerConfigTestingConfigurations() (int, int, int)

This is used to test the acceptance tests against the current provider version using a real environment, as oppossed to a mocked one. This is useful when we want to test real envs, but using the mocked one simplifies testing scenarios.

func HelperTestDataSourceSchema added in v0.3.11

func HelperTestDataSourceSchema[DS datasource.DataSource](t *testing.T, ds DS)

func HelperTestResourceSchema added in v0.3.11

func HelperTestResourceSchema[R resource.Resource](t *testing.T, r R)

func MakeCurrentProviderNoOpTestStep added in v1.0.0

func MakeCurrentProviderNoOpTestStep(ts helperTestResource.TestStep) helperTestResource.TestStep

func MakeExternalProviderTestStep added in v1.0.0

func MakeExternalProviderTestStep(ts helperTestResource.TestStep, frameworkVersion string) helperTestResource.TestStep

func SharedClient

func SharedClient() (*dbt_cloud.Client, error)

func TestAccPreCheck added in v0.3.5

func TestAccPreCheck(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