opentofu/internal/command/testdata/test
Christian Mesh fd4e426a12
Fix test crash when using deprecated outputs in the root module (#3249)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-09-05 14:41:32 -04:00
..
broken_no_valid_hcl added use cases 2023-08-28 16:02:16 +03:00
broken_wrong_block_check more cases 2023-08-28 16:21:40 +03:00
broken_wrong_block_data more cases 2023-08-28 16:21:40 +03:00
broken_wrong_block_output more cases 2023-08-28 16:21:40 +03:00
broken_wrong_block_resource more cases 2023-08-28 16:21:40 +03:00
custom_condition_checks testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
custom_condition_inputs testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
custom_condition_outputs testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
custom_condition_resources testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
default_variables fix: type defaults for variables in tests (#2244) 2024-12-04 16:48:08 +02:00
deprecated_outputs Fix test crash when using deprecated outputs in the root module (#3249) 2025-09-05 14:41:32 -04:00
destroyed_mod_outputs fix randomly failing destroyed_mod_outputs test (#2315) 2024-12-30 16:38:27 +02:00
expect_failures_checks testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
expect_failures_inputs Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02:00
expect_failures_outputs Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02:00
expect_failures_resources Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02:00
expect_runtime_check_fail expect_runtime_check_pass_with_expect 2023-08-29 11:02:42 +03:00
expect_runtime_check_fail_command_plan expect_runtime_check_fail_command_plan 2023-08-29 11:17:42 +03:00
expect_runtime_check_pass_command_plan_expected expect_runtime_check_pass_command_plan_expected 2023-08-29 12:20:34 +03:00
expect_runtime_check_pass_with_expect expect_runtime_check_pass_with_expect 2023-08-29 11:02:42 +03:00
function_call_in_variables Fix: Allow function calls in test variable blocks (#2947) (#2990) 2025-07-08 08:26:25 -04:00
invalid testing framework: validate the configuration before terraform test (#33559) 2023-07-26 10:56:44 +02:00
invalid-module testing framework: validate the configuration before terraform test (#33559) 2023-07-26 10:56:44 +02:00
invalid_default_state Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02:00
invalid_run_block_name Fix for tofu init failure when test have spaces in their name (#1489) 2024-04-25 11:11:38 -04:00
invalid_variable_warning_expected Adds warning if tests don't provide valid variable (#2057) 2024-10-15 09:20:11 +01:00
invalid_variable_warning_no_expected Adds warning if tests don't provide valid variable (#2057) 2024-10-15 09:20:11 +01:00
is_sorted Fix for tofu init failure when test have spaces in their name (#1489) 2024-04-25 11:11:38 -04:00
local_variables_in_provider_block Adds support for run block outputs in the test provider block (#2543) 2025-03-18 12:29:37 +04:00
missing-provider Revert "Fixes #898: Replace hashicorp and terraform references" (#995) 2023-12-11 15:10:03 -05:00
missing-provider-in-run-block Revert "Fixes #898: Replace hashicorp and terraform references" (#995) 2023-12-11 15:10:03 -05:00
missing-provider-in-test-module Revert "Fixes #898: Replace hashicorp and terraform references" (#995) 2023-12-11 15:10:03 -05:00
mock_provider_validation Use the correct data when mocking a resource refresh (#3068) 2025-07-25 22:00:43 -03:00
mock_provider_validation_for_each add for_each attribute to the mock_provider block (#3087) 2025-08-18 10:36:04 -03:00
multiple_files testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
no_providers_in_main Revert "Fixes #898: Replace hashicorp and terraform references" (#995) 2023-12-11 15:10:03 -05:00
not_exists_output Fix opentf test crash on nil output (#267) 2023-09-06 13:40:12 +03:00
null_output Fix opentf test crash on nil output (#267) 2023-09-06 13:40:12 +03:00
only_modules Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02:00
override_with_tests_dir_variables Added support to use .tfvars files from tests folder (#1386) 2024-03-29 08:44:27 -04:00
partial_update_failure Normalise lines in ned of test files 2023-09-03 16:37:05 +03:00
partial_updates Normalise lines in ned of test files 2023-09-03 16:37:05 +03:00
pass_module_with_no_resource Fixed tofu test when module has no resource (#1409) 2024-05-06 14:49:42 +02:00
pass_var_inside_variables Allowed variable to pass inside variables block (#1488) 2024-06-03 18:44:05 +05:30
pass_var_with_default_value_inside_variables add for_each attribute to the mock_provider block (#3087) 2025-08-18 10:36:04 -03:00
pass_with_local_variable Allow referencing output from test run in local variables block (tofu test) (#1254) 2024-02-19 10:18:56 +00:00
pass_with_locals testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
pass_with_outputs testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
pass_with_tests_dir_variables Added support to use .tfvars files from tests folder (#1386) 2024-03-29 08:44:27 -04:00
pass_with_variables testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
plan_then_apply testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
refresh_conflicting_config Normalise lines in ned of test files 2023-09-03 16:37:05 +03:00
refresh_only Normalise lines in ned of test files 2023-09-03 16:37:05 +03:00
run_mod_output_in_provider Adds support for run block outputs in the test provider block (#2543) 2025-03-18 12:29:37 +04:00
run_mod_output_in_provider_complex Adds support for run block outputs in the test provider block (#2543) 2025-03-18 12:29:37 +04:00
run_mod_output_in_provider_undefined_ref Adds support for run block outputs in the test provider block (#2543) 2025-03-18 12:29:37 +04:00
run_mod_output_in_provider_with_blocks Adds support for run block outputs in the test provider block (#2543) 2025-03-18 12:29:37 +04:00
simple_fail testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
simple_pass testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
simple_pass_nested testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
simple_pass_nested_alternate testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
simple_pass_very_nested testing framework: allow users to specify deeply nested testing directories (#33584) 2023-07-27 10:38:21 +02:00
state_propagation Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02:00
undefined_variables test framework: expand variables available to test assertions (#33611) 2023-08-01 09:59:29 +02:00
variables testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
variables_reference Run block variable references (#1129) 2024-01-17 06:57:14 -05:00
with_double_interrupt testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
with_interrupt testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
with_nested_setup_modules terraform test: fix crash when using nested modules from test run blocks (#33589) 2023-07-27 10:22:53 +02:00
with_provider_alias testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
with_setup_module testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
with_verify_module Fix test command teardown order (#1043) 2023-12-20 16:38:42 +02:00