Commit Graph

84 Commits (f72944530d01bda68eee6b3fdd0d98e02e5aa8aa)

Author SHA1 Message Date
Liam Cervante dec0edfd5a
terraform test: enable deferrals in Terraform Test with the specified flag (#37370)
9 months ago
Liam Cervante 84c2e2f9e5
terraform test: override prevent_destroy meta attribute (#37364)
9 months ago
Liam Cervante 160b6b35b0
terraform test: include expected diagnostics in verbose mode (#37362)
9 months ago
Liam Cervante 0a7701f19a
terraform test: refactor graph edge calculation (#37357)
9 months ago
Daniel Schmidt 66001080e6 actions: implement expansion and planning actions
9 months ago
Liam Cervante 2a1b4c3ed4
Update go-cty and HCL for 1.13 release (#37298)
10 months ago
Samsondeen a1332299a5
Test run Parallelism of 1 should not result in deadlock (#37292)
10 months ago
Samsondeen f57642d1a6
tf test: parallelize teardown operations (#37220)
10 months ago
Liam Cervante b4a3e56a19
terraform test: deprecate ambigious variable references in test files (#37218)
11 months ago
Liam Cervante 777a916435
terraform test: move providers into the graph (#37216)
11 months ago
Liam Cervante 53afa2cd2f
terraform test: move variable evaluation into the terraform test graph (#37205)
11 months ago
Liam Cervante 063b7cf62b
terraform test: check specific dependencies before skipping run blocks (#37204)
11 months ago
Liam Cervante 757efaed9a
terraform test: automatically create edges based on references (#37200)
11 months ago
Samsondeen 2a79f5fa53
Use iterators for graph vertices (#36558)
11 months ago
Liam Cervante f80762d3d5
terraform test: add variable definitions to test files (#37195)
11 months ago
Liam Cervante 71af8f8858
terraform test: push context initialisation into the graph (#37194)
11 months ago
Liam Cervante 19540e30fe
terraform test: don't allow diags from executable nodes (#37193)
11 months ago
Liam Cervante 8135fefa62
terraform test: stop transforming the config under test with new variables (#37152)
11 months ago
Samsondeen c0a7ff235b
Apply some new go collection features (#36818)
1 year ago
Daniel Banck 10c9b64007
Rename schema.Block to Body (#36629)
1 year ago
Samsondeen 3f4ed7e019
Ensure that all states are cleaned up (#36616)
1 year ago
Samsondeen 1bd312f155
Produce detailed diagnostic objects when test run assertions fail (#36522)
1 year ago
Samsondeen 018110c012
No state to cleaup when it is empty (#36526)
1 year ago
James Bardin e1485f27fc use go tool to run generate commands
1 year ago
Samsondeen a3a42979e2
Ensure that the file teardown summary is displayed before the run's teardown summary (#36483)
1 year ago
James Bardin 17f4dcfd8d
Merge pull request #36465 from hashicorp/jbardin/sensitive-order
1 year ago
Samsondeen 2e91113224
Terraform test: Consolidate test execution procedure (#36459)
1 year ago
James Bardin cbd7435dfc udpate tests to match core tfdiags
1 year ago
James Bardin 483c179156 use existing path formatter
1 year ago
Samsondeen 4161e88391
Continue test execution after an expected failure (#36447)
1 year ago
Samsondeen 2f0f537e69
Terraform test: Execute eligible test runs in parallel (#36300)
1 year ago
Sarah French 21cafd70ea
Add more details to JUnit `terraform test` output to describe why a test was skipped (#36315)
1 year ago
Sarah French 43f31c43b0
Add start time timestamps to `<testcase>`/Run data in JUnit XML output from `terraform test` (#36295)
1 year ago
Samsondeen aec7c3cc89
terraform test: allow computed/mocked values override during planning (#36227)
1 year ago
Liam Cervante eeacced8f0
Add go vet as a check to the Github commit actions (#31461)
1 year ago
Radek Simko 79a35f3968
lang: Add Extra to avoid duplicate diagnostic in check blocks (#35944)
1 year ago
Daniel Schmidt b701e152e5
show value is ephemeral in terraform test
2 years ago
Daniel Schmidt 3e7fdd0de9
improve wording of error message
2 years ago
Daniel Schmidt ae103fc491
test: emit a nice error message if the user uses ephemeral resource in terrafom test
2 years ago
James Bardin 257678fafb final changes changes
2 years ago
Aviral Jain c19118f9e0 skip check evaluation when context is not prepared successfully (#35408)
2 years ago
Liam Cervante 48fc2d3ac7
terraform test: Disallow version constraints within test files (#35161)
2 years ago
Liam Cervante 14418bd198
terraform test: move override evaluation into expander (#35030)
2 years ago
Liam Cervante 448775102c
terraform test: Push evaluation of variables to as late as possible (#35014)
2 years ago
Martin Atkins 397ea6d05c moduletest: Capture optional "execution meta" for test runs
2 years ago
Liam Cervante c6ff573180
Include provider functions in scope used to evaluate test assertions (#34825)
2 years ago
Martin Atkins 88cb4aeea3 backendrun: Separate the types/etc for backends that support operations
2 years ago
Martin Atkins 545980d664 langrefs: Separate package for expression reference analysis
2 years ago
Daniel Schmidt 4f23efc14e
remove unused config
2 years ago
Daniel Schmidt df3ee21d82
extract global and suite-level variables before configuring providers
2 years ago