Commit Graph

104 Commits (e024960c745f0a464cb081d04765d93f94deaba0)

Author SHA1 Message Date
James Bardin c02f1d7256 allow 0 and unset to be equal in count tests
7 years ago
Martin Atkins 4c99864dad helper/resource: TestCheckResourceAttrPair allow nonexist
7 years ago
Martin Atkins 86c02d5c35 command: "terraform init" can partially initialize for 0.12upgrade
7 years ago
Martin Atkins 0c0a437bcb Move module install functionality over to internal/initwd
7 years ago
James Bardin a7b399cb4c use actual schema.Resources for state shims
7 years ago
James Bardin 7973872524 allow TestCheckNoResourceAttr for empty containers
7 years ago
James Bardin c63040c737 have TestCheckResourceAttr accept missing counts
7 years ago
Martin Atkins cdad78d69b helper/resource: Allow multiple providers in a single TestCase
7 years ago
Martin Atkins f9fef56167 helper/resource: print full diagnostics for operation errors in tests
7 years ago
Martin Atkins 55469cd416 helper/resource: Get schemas from Terraform context
7 years ago
Martin Atkins a4991c5780 helper/resource: Create a separate provider instance each call
7 years ago
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
8 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