terraform/internal/command/testdata/test
Liam Cervante 01c0480e77
Test framework will produce regular updates in -json mode (#33953)
* Test framework will produce regular updates in -json mode

* add tests

* docs

* docs tweaking
2023-10-02 09:14:20 +02:00
..
bad-references Allow referencing higher level variables from run blocks (#33722) 2023-08-24 16:15:22 +02: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_optional_values apply defaults when processing variables for assertions 2023-09-14 08:32:25 +02:00
default_variables test framework: expand variables available to test assertions (#33611) 2023-08-01 09:59:29 +02:00
destroy_fail Make the test command fail if resources could not be cleaned up (#33809) 2023-09-08 19:57:23 +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
expected_failures_during_planning Add warning when testing and combining expect_failures with apply operations 2023-09-14 08:47:07 +02: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
long_running Test framework will produce regular updates in -json mode (#33953) 2023-10-02 09:14:20 +02:00
missing-provider test framework: include transformed config before validating config (#33608) 2023-08-01 09:47:00 +02:00
missing-provider-in-run-block test framework: include transformed config before validating config (#33608) 2023-08-01 09:47:00 +02:00
missing-provider-in-test-module test framework: include transformed config before validating config (#33608) 2023-08-01 09:47:00 +02:00
multiple_files testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
nested_unknown_values Add additional validation around unknown and null values in test variables (#33861) 2023-09-14 09:44:21 +02:00
no_providers_in_main Fix root cause of race condition in testing framework tests 2023-08-09 16:47:59 +02:00
null-outputs Handle null outputs in Terraform test files (#33781) 2023-09-01 16:53:23 +02:00
null_value_in_assert Add additional validation around unknown and null values in test variables (#33861) 2023-09-14 09:44:21 +02:00
null_value_in_vars Add additional validation around unknown and null values in test variables (#33861) 2023-09-14 09:44:21 +02:00
only_modules Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02:00
partial_updates Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02: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_variables explicitely disallow duplicate run block names in test files (#33836) 2023-09-09 08:05:37 +02:00
plan_then_apply explicitely disallow duplicate run block names in test files (#33836) 2023-09-09 08:05:37 +02:00
shared_state Introduce 'run' keyword for referencing outputs from earlier run blocks (#33683) 2023-08-16 11:06:00 +02:00
shared_state_object Introduce 'run' keyword for referencing outputs from earlier run blocks (#33683) 2023-08-16 11:06:00 +02: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
unknown_value_in_assert Add additional validation around unknown and null values in test variables (#33861) 2023-09-14 09:44:21 +02:00
unknown_value_in_vars Add additional validation around unknown and null values in test variables (#33861) 2023-09-14 09:44:21 +02:00
variable_references Allow referencing higher level variables from run blocks (#33722) 2023-08-24 16:15:22 +02:00
variables testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
variables_types Allow referencing higher level variables from run blocks (#33722) 2023-08-24 16:15:22 +02: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_interrupt_and_additional_file Test files should be marked as skipped if all their run blocks were skipped (#33950) 2023-09-28 13:49:14 +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