Documentation ¶
Index ¶
- func CreateAndRunTest(t *testing.T, test *resource.TestCase)
- func CreateAndRunTestNonParallel(t *testing.T, test *resource.TestCase)
- func CreateTest(t *testing.T, test *resource.TestCase) resource.TestCase
- func CreateTestAndRunUseExternalProvider(t *testing.T, test *resource.TestCase, ...)
- func CreateTestAndRunUseExternalProviderNonParallel(t *testing.T, test *resource.TestCase, ...)
- func CreateTestUseExternalProvider(t *testing.T, test *resource.TestCase, ...) resource.TestCase
- func ExternalProviders() map[string]resource.ExternalProvider
- func ExternalProvidersWithAWS() map[string]resource.ExternalProvider
- func IsProviderVersionAtLeast(minVersion string) bool
- func PreCheck(tb testing.TB)
- func PreCheckAtlasUsername(tb testing.TB)
- func PreCheckAwsEnvBasic(tb testing.TB)
- func PreCheckBasic(tb testing.TB)
- func PreCheckBasicOwnerID(tb testing.TB)
- func PreCheckCert(tb testing.TB)
- func PreCheckLDAP(tb testing.TB)
- func PreCheckPeeringEnvAWS(tb testing.TB)
- func PreCheckPrivateEndpoint(tb testing.TB)
- func SkipIfVersionBelow(tb testing.TB, minVersion string)
- func TestStepCheckEmptyPlan(config string) resource.TestStep
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAndRunTest ¶ added in v1.15.3
func CreateAndRunTestNonParallel ¶ added in v1.16.0
avoids running migration test in parallel
func CreateTest ¶ added in v1.15.3
CreateTest returns a new TestCase that reuses step 1 and adds a TestStepCheckEmptyPlan. Requires: `MONGODB_ATLAS_LAST_VERSION` to be present.
func CreateTestAndRunUseExternalProvider ¶ added in v1.15.3
func CreateTestAndRunUseExternalProviderNonParallel ¶ added in v1.16.1
func CreateTestUseExternalProvider ¶ added in v1.15.3
func CreateTestUseExternalProvider(t *testing.T, test *resource.TestCase, externalProviders, additionalProviders map[string]resource.ExternalProvider) resource.TestCase
CreateTestUseExternalProvider returns a new TestCase that reuses step 1 and adds a TestStepCheckEmptyPlan with the additionalProviders. Requires: `MONGODB_ATLAS_LAST_VERSION` to be present. externalProviders: e.g., ExternalProvidersWithAWS() or ExternalProviders("specific_sem_ver"). additionalProviders: e.g., acc.ExternalProvidersOnlyAWS(), can also be nil.
func ExternalProviders ¶
func ExternalProviders() map[string]resource.ExternalProvider
func ExternalProvidersWithAWS ¶
func ExternalProvidersWithAWS() map[string]resource.ExternalProvider
func PreCheckAtlasUsername ¶ added in v1.15.1
func PreCheckAwsEnvBasic ¶ added in v1.16.0
func PreCheckBasic ¶
func PreCheckBasicOwnerID ¶
func PreCheckCert ¶ added in v1.15.1
func PreCheckLDAP ¶ added in v1.15.2
func PreCheckPeeringEnvAWS ¶ added in v1.15.3
func PreCheckPrivateEndpoint ¶ added in v1.15.2
func SkipIfVersionBelow ¶ added in v1.15.0
func TestStepCheckEmptyPlan ¶ added in v1.15.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.