lib

package
v0.0.0-...-870b6ac Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FUNC_NAME_CONVENTION_COMPOSABLE_PREFIX = "TestComposable"
)

Variables

This section is empty.

Functions

func FindTestConfig

func FindTestConfig(testConfigFolderDefault string, infraTFVarFileNameDefault string) (string, string)

func ForEveryExampleRunTest

func ForEveryExampleRunTest(t *testing.T, infraTests2Run []string, testVarFileName string, testCtx types.TestContext, testFunc ...TestFunc)

func IsExamplesFolder

func IsExamplesFolder(t *testing.T, dir string) bool

func IsSkipThisTestRequested

func IsSkipThisTestRequested(tfFoldr2Test string) bool

func ListAllExamples

func ListAllExamples(t *testing.T, examplesTFFolder string) []string

func LoadRequestedInfraDefinitionFromTfVarsOut

func LoadRequestedInfraDefinitionFromTfVarsOut(t *testing.T, dir string, testFile string, testConfigOut any)

aborts test if an error

func NewTerratestTerraformOptions

func NewTerratestTerraformOptions(dir string, testFile string) *terraform.Options

func RunNonDestructiveTest

func RunNonDestructiveTest(t *testing.T, dir string, testFile string, testCtx types.TestContext, testFunc ...TestFunc)

func RunSetupTestTeardown

func RunSetupTestTeardown(t *testing.T, dir string, testFile string, testCtx types.TestContext, testFunc ...TestFunc)

Types

type TestFunc

type TestFunc func(t *testing.T, testCtx types.TestContext)

Directories

Path Synopsis
aws
dns
ec2

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL