Documentation ¶
Index ¶
- Constants
- func FindTestConfig(testConfigFolderDefault string, infraTFVarFileNameDefault string) (string, string)
- func ForEveryExampleRunTest(t *testing.T, infraTests2Run []string, testVarFileName string, ...)
- func IsExamplesFolder(t *testing.T, dir string) bool
- func IsSkipThisTestRequested(tfFoldr2Test string) bool
- func ListAllExamples(t *testing.T, examplesTFFolder string) []string
- func LoadRequestedInfraDefinitionFromTfVarsOut(t *testing.T, dir string, testFile string, testConfigOut any)
- func NewTerratestTerraformOptions(dir string, testFile string) *terraform.Options
- func RunNonDestructiveTest(t *testing.T, testCtx types.TestContext, testFunc ...TestFunc)
- func RunSetupTestTeardown(t *testing.T, testCtx types.TestContext, testFunc ...TestFunc)
- type TestFunc
Constants ¶
View Source
const (
FUNC_NAME_CONVENTION_COMPOSABLE_PREFIX = "TestComposable"
)
Variables ¶
This section is empty.
Functions ¶
func FindTestConfig ¶
func ForEveryExampleRunTest ¶
func IsSkipThisTestRequested ¶
func LoadRequestedInfraDefinitionFromTfVarsOut ¶
func LoadRequestedInfraDefinitionFromTfVarsOut(t *testing.T, dir string, testFile string, testConfigOut any)
aborts test if an error
func RunNonDestructiveTest ¶
func RunNonDestructiveTest(t *testing.T, testCtx types.TestContext, testFunc ...TestFunc)
func RunSetupTestTeardown ¶
func RunSetupTestTeardown(t *testing.T, testCtx types.TestContext, testFunc ...TestFunc)
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.