Commit Graph

116 Commits (148b19b0d7e36b6f2b8a169d2cb7b6069ab5d00a)

Author SHA1 Message Date
Nick Fagerlund 40b6f21b3d
Merge pull request #35050 from hashicorp/rebrand-hcp-terraform
2 years ago
Sebastian Rivera 015f795ff0 Rebrand Terraform Cloud to HCP Terraform
2 years ago
Liam Cervante 448775102c
terraform test: Push evaluation of variables to as late as possible (#35014)
2 years ago
Liam Cervante 6963c54bec
terraform test: don't remove sensitive marks from inputs (#35021)
2 years ago
UKEME BASSEY 7fb13b8868 fixing tests
2 years ago
UKEME BASSEY c7bbc09631 move all command args from command/init to args/init
2 years ago
UKEME BASSEY 0ea25e3b40 fixing tests internal/command/init, view and argumento
2 years ago
UKEME BASSEY 26f01d699a add test for -json support
2 years ago
Liam Cervante c6ff573180
Include provider functions in scope used to evaluate test assertions (#34825)
2 years ago
Daniel Schmidt 0529299cc3
run terraform fmt on test
2 years ago
Daniel Schmidt 7ae7a203d8
test: allow using global variables in suite-level variable definitions
2 years ago
Martin Atkins 884e1fb2a4 terraform: Plans can be "complete" and "applyable"
2 years ago
HenriBlacksmith 49663bfc33
terraform fmt: add .tfmock.hcl as a supported file extension (#34580)
2 years ago
James Bardin c4a2f74054
Merge pull request #34567 from hashicorp/jbardin/handling-instance-value-marks
2 years ago
James Bardin 8994e914b7 add sensitive attributes to test json output
2 years ago
James Bardin 8655b08b19 fix sensitive_attributes in test
2 years ago
Liam Cervante 9658f9df6b
mocking overrides: default to concrete empty object when values are missing (#34563)
2 years ago
Liam Cervante 430970c02b
terraform test: Fix crash when file level variables reference variables. (#34531)
2 years ago
Liam Cervante 7e18b1183d
Add test verifying issue #34476 has been fixed (#34478)
2 years ago
Liam Cervante 5cbf7c5f96
Add docs for automatic var files in test directories (#34349)
2 years ago
Kubo c98e355ca1
terraform test: Collect variables from default var file within testing directory (#34341)
2 years ago
Liam Cervante 9ea1aa0a86
terraform test: skip destroy step for empty run blocks (#34331)
2 years ago
Liam Cervante 6670ab43f7
terraform test: rearrange the order of destroy operations (#34293)
2 years ago
Martin Atkins 844b1616e8 command/graph: Simpler resource-only graph by default
2 years ago
Liam Cervante dedb296773
terraform test: connect mock behaviour to test framework (#34205)
2 years ago
Liam Cervante 57edb9c248
testing framework: add warnings for override blocks with invalid targets (#34181)
2 years ago
Liam Cervante b9f6b23ba3
testing framework: add support for functions in variables and providers (#34204)
2 years ago
Liam Cervante ad77877136
terraform test: remove marks before passing variables as inputs to a plan (#34190)
2 years ago
Liam Cervante f90d71f723
testing framework: allow providers to reference run blocks (#34118)
2 years ago
Liam Cervante 5bbdc4c3b6
terraform test: allow providers in test files to reference variables (#34069)
2 years ago
Liam Cervante 01c0480e77
Test framework will produce regular updates in -json mode (#33953)
2 years ago
James Bardin 2664c062c9
Merge pull request #33932 from hashicorp/jbardin/import-for-each
2 years ago
Liam Cervante fba5dad097
Test files should be marked as skipped if all their run blocks were skipped (#33950)
2 years ago
James Bardin 2c4608fe9e update import validate test
2 years ago
Liam Cervante f8d4664bcd
Add additional validation around unknown and null values in test variables (#33861)
2 years ago
Liam Cervante 1c7dfa22b7 Add warning when testing and combining expect_failures with apply operations
2 years ago
Liam Cervante 84e2ebc225 apply defaults when processing variables for assertions
2 years ago
Liam Cervante 041b54fb4b
explicitely disallow duplicate run block names in test files (#33836)
3 years ago
Liam Cervante a560730376
Make the test command fail if resources could not be cleaned up (#33809)
3 years ago
Liam Cervante 802d49a9ca
Handle null outputs in Terraform test files (#33781)
3 years ago
Liam Cervante 5e63aa01c7
Allow referencing higher level variables from run blocks (#33722)
3 years ago
Brandon Croft 114f876f81
Merge pull request #33602 from hashicorp/TF-8071-download-and-verify-the-plugin-in-terraform
3 years ago
Liam Cervante 9742f22c4e
Introduce 'run' keyword for referencing outputs from earlier run blocks (#33683)
3 years ago
Brandon Croft 63e017b81b
cloudplugin: download and verify plugin
3 years ago
Liam Cervante 126f34e4e8 Implement updates to testing framework based on recent feedback
3 years ago
Liam Cervante 3cce200d0e Fix root cause of race condition in testing framework tests
3 years ago
Liam Cervante f8b1fe47dd
Make config errors more important during init operations (#33628)
3 years ago
Liam Cervante 8b764f2e1b
fix race condition in no_provides_in_main test (#33616)
3 years ago
Liam Cervante 3bea1171af
test framework: expand variables available to test assertions (#33611)
3 years ago
Liam Cervante 4560a83721
test framework: include transformed config before validating config (#33608)
3 years ago