RLRabinowitz
650caafafb
Test: Refresh-only and refresh:false should fail validation
...
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com >
2023-09-03 13:20:21 +03:00
RLRabinowitz
08536a74a2
Add test cases for opentf test - refresh-only, and making sure target actually runs a single target
...
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com >
2023-09-03 13:20:21 +03:00
Elbaz
abf03204d8
expect_runtime_check_pass_command_plan_expected
2023-08-29 12:20:34 +03:00
Elbaz
a444b7e6f2
expect_runtime_check_fail_command_plan
2023-08-29 11:17:42 +03:00
Elbaz
94400dfebb
expect_runtime_check_pass_with_expect
2023-08-29 11:02:42 +03:00
Elbaz
a330254be2
another case
2023-08-29 10:19:26 +03:00
Elbaz
cf04e25f79
more cases
2023-08-28 16:21:40 +03:00
Elbaz
02c0c44bdd
add data test case
2023-08-28 16:11:22 +03:00
Elbaz
5c9a332ad6
added use cases
2023-08-28 16:02:16 +03:00
Elbaz
aea45de290
adding test cases
2023-08-28 15:00:33 +03:00
Liam Cervante
126f34e4e8
Implement updates to testing framework based on recent feedback
2023-08-10 10:49:01 +02:00
Liam Cervante
3cce200d0e
Fix root cause of race condition in testing framework tests
2023-08-09 16:47:59 +02:00
Liam Cervante
8b764f2e1b
fix race condition in no_provides_in_main test ( #33616 )
2023-08-02 11:02:26 +02:00
Liam Cervante
3bea1171af
test framework: expand variables available to test assertions ( #33611 )
2023-08-01 09:59:29 +02:00
Liam Cervante
4560a83721
test framework: include transformed config before validating config ( #33608 )
2023-08-01 09:47:00 +02:00
Liam Cervante
f397954c52
testing framework: allow users to specify deeply nested testing directories ( #33584 )
2023-07-27 10:38:21 +02:00
Liam Cervante
4122ba86fc
terraform test: fix crash when using nested modules from test run blocks ( #33589 )
2023-07-27 10:22:53 +02:00
Liam Cervante
e1019b3641
testing framework: validate the configuration before terraform test ( #33559 )
...
* testing framework: call validate on the configuration before running terraform test
* address comments
* make tests pass after merge
* fix tests
2023-07-26 10:56:44 +02:00
Liam Cervante
080ddead6e
testing framework: perform a plan before starting any tests ( #33561 )
2023-07-26 10:24:25 +02:00
Liam Cervante
c91f91cc9e
testing framework: change test file extension to .tftest.hcl ( #33553 )
2023-07-20 16:57:05 +02:00
Liam Cervante
6882dd9530
testing framework: introduce test command optional flags ( #33504 )
...
* testing framework: introduce test command optional flags
* address consistency checks
2023-07-19 10:07:46 +02:00
Liam Cervante
837716a703
testing framework: finalise expect_failures functionality ( #33506 )
2023-07-19 09:44:40 +02:00
Liam Cervante
4862812c94
testing framework: introduce interrupts for stopping tests ( #33477 )
...
* [testing framework] prepare for beta phase of development
* [Testing Framework] Add module block to test run blocks
* [testing framework] allow tests to define and override providers
* testing framework: introduce interrupts for stopping tests
* remove panic handling, will do it properly later
2023-07-10 14:53:13 +01:00
Liam Cervante
ea162f6ab5
[testing framework] prepare for beta phase of development ( #33445 )
2023-07-06 15:53:18 +02:00
Liam Cervante
dfc26c2ac4
[Testing Framework] Add test command to Terraform CLI ( #33327 )
...
* Add test structure to views package for rendering test output
* Add test file HCL configuration and parser functionality
* Adds a TestContext structure for evaluating assertions against the state and plan
* Add test command to Terraform CLI
2023-06-28 09:37:42 +02:00