Commit Graph

97 Commits (5c8fd0b147ed36bf8de08047db232ac2d1ac80d1)

Author SHA1 Message Date
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)
2 years ago
Liam Cervante a560730376
Make the test command fail if resources could not be cleaned up (#33809)
2 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
Liam Cervante f397954c52
testing framework: allow users to specify deeply nested testing directories (#33584)
3 years ago
Liam Cervante 4122ba86fc
terraform test: fix crash when using nested modules from test run blocks (#33589)
3 years ago
Liam Cervante e1019b3641
testing framework: validate the configuration before terraform test (#33559)
3 years ago
Liam Cervante 55792309eb
test framework: add support for testing files to fmt command (#33576)
3 years ago
Liam Cervante 080ddead6e
testing framework: perform a plan before starting any tests (#33561)
3 years ago
Liam Cervante c91f91cc9e
testing framework: change test file extension to .tftest.hcl (#33553)
3 years ago
Liam Cervante 6882dd9530
testing framework: introduce test command optional flags (#33504)
3 years ago
Liam Cervante 837716a703
testing framework: finalise expect_failures functionality (#33506)
3 years ago
Liam Cervante 4862812c94
testing framework: introduce interrupts for stopping tests (#33477)
3 years ago
Liam Cervante 4b34902fab
[testing framework] allow tests to define and override providers (#33466)
3 years ago
Liam Cervante 5acc95dda7
[Testing Framework] Add module block to test run blocks (#33456)
3 years ago
kmoe d1a5dfa1ad
command: test plan -refresh= arg ordering (#33483)
3 years ago
Liam Cervante ea162f6ab5
[testing framework] prepare for beta phase of development (#33445)
3 years ago
Liam Cervante dfc26c2ac4
[Testing Framework] Add test command to Terraform CLI (#33327)
3 years ago
kmoe fbff64ad45
configs: remove import block duplicate id check (#33434)
3 years ago
Andrew Hickman 49f99db1c2
`terraform show -json`: Add Errored field to output for plan (#33372)
3 years ago
Liam Cervante 48c818927c Remove old implementation of terraform test command
3 years ago
kmoe be2ad69eda
plannable import: safer config generation and schema filters (#33232)
3 years ago
CJ Horton bd6ba6cf99
check for duplicate import blocks (#33190)
3 years ago