Commit graph

13 commits

Author SHA1 Message Date
Radek Simko
0fe906fa8c make copyrightfix 2026-02-17 13:56:34 +00:00
Samsondeen
0b35407d2c
Allow functions in test mock blocks (#37883)
Some checks failed
build / Build for freebsd_amd64 (push) Has been cancelled
build / Build for linux_amd64 (push) Has been cancelled
build / Build for openbsd_amd64 (push) Has been cancelled
build / Build for solaris_amd64 (push) Has been cancelled
build / Build for windows_amd64 (push) Has been cancelled
build / Build for freebsd_arm (push) Has been cancelled
build / Build for linux_arm (push) Has been cancelled
build / Build for darwin_arm64 (push) Has been cancelled
build / Build for linux_arm64 (push) Has been cancelled
build / Build for windows_arm64 (push) Has been cancelled
build / Build Docker image for linux_386 (push) Has been cancelled
build / Build Docker image for linux_amd64 (push) Has been cancelled
build / Build Docker image for linux_arm (push) Has been cancelled
build / Build Docker image for linux_arm64 (push) Has been cancelled
build / Build e2etest for linux_386 (push) Has been cancelled
build / Build e2etest for windows_386 (push) Has been cancelled
build / Build e2etest for darwin_amd64 (push) Has been cancelled
build / Build e2etest for linux_amd64 (push) Has been cancelled
build / Build e2etest for windows_amd64 (push) Has been cancelled
build / Build e2etest for linux_arm (push) Has been cancelled
build / Build e2etest for darwin_arm64 (push) Has been cancelled
build / Build e2etest for linux_arm64 (push) Has been cancelled
build / Run e2e test for linux_386 (push) Has been cancelled
build / Run e2e test for windows_386 (push) Has been cancelled
build / Run e2e test for darwin_amd64 (push) Has been cancelled
build / Run e2e test for linux_amd64 (push) Has been cancelled
build / Run e2e test for windows_amd64 (push) Has been cancelled
build / Run e2e test for linux_arm (push) Has been cancelled
build / Run e2e test for linux_arm64 (push) Has been cancelled
build / Run terraform-exec test for linux amd64 (push) Has been cancelled
2026-01-22 09:42:21 +01:00
Liam Cervante
2a1b4c3ed4
Update go-cty and HCL for 1.13 release (#37298) 2025-07-09 13:05:18 +02:00
Liam Cervante
777a916435
terraform test: move providers into the graph (#37216)
* terraform test: move providers into the graph

* consistency checks

* remove flaky cycle test

* address comments

* Update internal/moduletest/graph/node_test_run.go

Co-authored-by: Samsondeen <40821565+dsa0x@users.noreply.github.com>

* go fmt

---------

Co-authored-by: Samsondeen <40821565+dsa0x@users.noreply.github.com>
2025-06-06 16:27:34 +02:00
James Bardin
cbd7435dfc udpate tests to match core tfdiags
The local format function for diagnostics didn't match the global
formatting for the tfdiags package.
2025-02-10 15:53:10 -05:00
James Bardin
483c179156 use existing path formatter 2025-02-10 15:08:33 -05:00
Samsondeen
aec7c3cc89
terraform test: allow computed/mocked values override during planning (#36227) 2025-01-08 12:39:03 +01:00
Liam Cervante
14418bd198
terraform test: move override evaluation into expander (#35030)
* terraform test: move override evaluation into expander

* clarify comment
2024-04-24 07:57:29 +02:00
Liam Cervante
8522c40114
terraform test: prevent crash when mocking dynamic types (#34607) 2024-02-02 09:49:46 +01:00
Liam Cervante
48aa56a371
moduletest/mocking: make object and map iteration deterministic (#34238) 2023-11-14 10:27:14 +01:00
Liam Cervante
aec48aa8d2
terraform test: add support for importing overridden resources (#34216)
* terraform test: add support for importing overridden resources

* fix broken comment
2023-11-13 16:17:42 +01:00
Liam Cervante
4ce385a19b
testing framework: implement overrides in terraform graph (#34169)
* testing framework: implement overrides in terraform graph

* fix bug for modules and module instances

* add test for ModuleInstance.ContainingModule()
2023-11-10 10:07:04 +01:00
Liam Cervante
1a4eb51007
terraform test: add functionality for generating mock data (#34149) 2023-10-31 08:34:34 +01:00