Commit Graph

33 Commits (e37526b4e5d09da129e51474a8ce722ca767fbf8)

Author SHA1 Message Date
Liam Cervante f8d4664bcd
Add additional validation around unknown and null values in test variables (#33861)
3 years ago
Liam Cervante 1c7dfa22b7 Add warning when testing and combining expect_failures with apply operations
3 years ago
Liam Cervante 84e2ebc225 apply defaults when processing variables for assertions
3 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 91d26b6ea6
Refactor file and run block feedback frequency (#33840)
3 years ago
Liam Cervante 802d49a9ca
Handle null outputs in Terraform test files (#33781)
3 years ago
Liam Cervante 4c83e2d524
Terraform test directory must be local to the config directory (#33760)
3 years ago
Liam Cervante 5e63aa01c7
Allow referencing higher level variables from run blocks (#33722)
3 years ago
CJ Horton 98b81d3c50 add missing copyright headers
3 years ago
Liam Cervante 9742f22c4e
Introduce 'run' keyword for referencing outputs from earlier run blocks (#33683)
3 years ago
Liam Cervante 126f34e4e8 Implement updates to testing framework based on recent feedback
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 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 ca85d3bf85
Implement word wrapping in the terraform test view functions (#33547)
3 years ago
Liam Cervante 6c7db16566
testing framework: refactor interrupt logic for immediate exits (#33532)
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 87ed762619
Make flaky 'TestTest_DoubleInterrupt' test more robust (#33503)
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
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
Liam Cervante 48c818927c Remove old implementation of terraform test command
3 years ago
hashicorp-copywrite[bot] 325d18262e [COMPLIANCE] Add Copyright and License Headers
3 years ago
Eng Zer Jun fedd315275
test: use `T.TempDir` to create temporary test directory (#30803)
4 years ago
Martin Atkins ffe056bacb Move command/ to internal/command/
5 years ago