Commit Graph

93 Commits (e4270993be013de410ffd7ca76aa2f00a27df688)

Author SHA1 Message Date
James Bardin 0d4d572c39 start work on helper/resource test fixtures
8 years ago
Martin Atkins 44bc7519a6 terraform: More wiring in of new provider types
8 years ago
Martin Atkins a3403f2766 terraform: Ugly huge change to weave in new State and Plan types
8 years ago
Martin Atkins c937c06a03 terraform: ugly huge change to weave in new HCL2-oriented types
8 years ago
Brian Flad 798162125b helper/resource: Add ParallelTest() function to allow opt-in acceptance testing concurrency with t.Parallel()
8 years ago
Chris Marchesi 3505769600
helper/resource: Add ability to pre-taint resources
8 years ago
Stuart Auld 7d1f594f54 helper/resource: don't panic if a requested module does not exist
8 years ago
Stuart Auld df9446f490 helper/resource: allow tests to opt out of temporary file cleanup
8 years ago
Stuart Auld 1d1984771b helper/resource: test check helpers for resources in non-root modules
8 years ago
Chris Marchesi 3f8dad30c9
helper/resource: Fail tests with no error that have ExpectError set
8 years ago
Martin Atkins ba0514106a return tfdiags.Diagnostics from validation methods
9 years ago
Radek Simko d39025b9d8
helper: Escape test name in TF_LOG_PATH_MASK
9 years ago
Radek Simko 48fbd60e33
helper: Fall back to TF_LOG_PATH instead of os.Stderr
9 years ago
James Bardin 3a495ffe56 rename ModuleStorage to Storage
9 years ago
James Bardin f2a7b94692 use the new ModuleStorage in the command package
9 years ago
Radek Simko 4052a8f956
helper: Allow logs isolation per acceptance test
9 years ago
Chris Marchesi 7bba1d0c95
helper/resource: Add ImportStateIdFunc
9 years ago
Radek Simko db97555e3e
helper/resource: Add TestStep.SkipFunc
9 years ago
James Bardin 60ea42cd1c Add testProviderConfig to import tests
9 years ago
Martin Atkins c835ef8ff3 Update tests for the new ProviderResolver interface
9 years ago
Martin Atkins 0573ff6793 helper/resource: pass config when testing import
9 years ago
Clint 372a80bc42 provider/aws: Add Sweeper setup, Sweepers for DB Option Group, Key Pair (#14773)
9 years ago
= 1608f5544f Added error check
9 years ago
= 6bc3610c09 removing extraneous code
9 years ago
Jake Champlin f24087ee54
core: Add ImportStateIdPrefix field for testing
9 years ago
clint shryock 61355c33c5 testing: Add option to run only a plan on a TestStep configuration
9 years ago
James Bardin 6fcb55d09e reword TestProvider doc
9 years ago
James Bardin 1eb9a2d083 Reset ResourceProviders
9 years ago
Kit Ewbank 64fda44b00 Add 'aws_vpn_gateway' data source. (#11886)
9 years ago
Kit Ewbank 87d98b1ff1 Correct aws_s3_bucket_object data source acceptance tests. (#11346)
9 years ago
Sean Chittenden 7862e5b499
Differentiate between lookup failure and value inequality.
9 years ago
James Nugent b551981cc7 testing: Add ComposeAggregateTestFunc
10 years ago
James Nugent b681ab23d3 testing: Add TestCheckResourceAttrSet helper
10 years ago
Paul Hinze 3b732131d2 Merge pull request #7446 from hashicorp/b-jit-resource-validate
10 years ago
Paul Hinze 4a1b36ac0d
core: rerun resource validation before plan and apply
10 years ago
Paul Hinze 5656d7388c
helper/resource: Consolidate unit test override
10 years ago
Patrick Sodré 80936e3562 provider/triton: add machine domain names (#7149)
10 years ago
James Nugent 9c7cf639b3 testing: Allow acceptance test to run as unit test
10 years ago
Radek Simko 84ab00d92e helper/resource: Add TestStep.PreventPostDestroyRefresh
10 years ago
Mitchell Hashimoto 55583baa7e
Merge branch 'f-aws-import'
10 years ago
James Nugent 3ea3c657b5 core: Use OutputState in JSON instead of map
10 years ago
Mitchell Hashimoto 884980da1a
providers/aws: instance, nat, internet gateway
10 years ago
Mitchell Hashimoto 6a675b4a15
helper/resource: ImportState test can verify states
10 years ago
Mitchell Hashimoto 2d99c451fb
helper/resource: basic ImportState acceptance testing
10 years ago
Mitchell Hashimoto 9bd1c9e7ca
helper/resource: reshuffling to prepare for importstate testing
10 years ago
Mitchell Hashimoto 35c87836b4 core: Add terraform_version to state
10 years ago
Mitchell Hashimoto d85df63526
providers/aws: aws_instance id-only
10 years ago
Mitchell Hashimoto e0da21d381
helper/resource: make id-only check opt-in
10 years ago
Mitchell Hashimoto ff7b58f032
providers/aws: peering connection id-only test settings
10 years ago
Mitchell Hashimoto 0ef1b3b84a
providers/aws: response value for DescribeVpcAttribute needs to be
10 years ago