test

package
v0.0.0-...-00b0d95 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

README

Prerequisites

Create the following files in test/ directory:

  • test.tfvars file with the values for integration tests
  • no_vpc_create.tfvars which has all *vpc* variables removed.

Install

go get ./...

Run tests

go test -timeout 2h

Notes

If something did not get destroyed after the tests:

See your temp dirs for the terraform state and destroy it manually. (e.g., <temp dir path>/region_us-east-123456789/quickstart-magento-terraform/examples/integration_test and run terraform destroy)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTests

func RunTests(t *testing.T, testVars []map[string]interface{}, testCases []testCase, testPath string, excludeFiles []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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