opentofu/internal/command
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
..
arguments testing framework: validate the configuration before terraform test (#33559) 2023-07-26 10:56:44 +02:00
cliconfig [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
clistate [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
e2etest [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
format [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
jsonchecks Add input validation into the 'checks' outputs and tracking (#33481) 2023-07-10 11:33:45 +01:00
jsonconfig Introduce separate testing scope for reference validation (#33339) 2023-06-28 09:47:24 +02:00
jsonformat New plans.Quality type for display-relevant facts about a plan 2023-07-24 14:12:44 -04:00
jsonfunction [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
jsonplan testing framework: introduce test command optional flags (#33504) 2023-07-19 10:07:46 +02:00
jsonprovider s/Schemas/ProviderSchema/ 2023-07-06 10:37:35 -04:00
jsonstate testing framework: introduce test command optional flags (#33504) 2023-07-19 10:07:46 +02:00
testdata testing framework: validate the configuration before terraform test (#33559) 2023-07-26 10:56:44 +02:00
testing testing framework: refactor interrupt logic for immediate exits (#33532) 2023-07-19 10:31:32 +02:00
views Fix saved plan test regressions, fixtures 2023-07-25 10:22:46 -04:00
webbrowser [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
workdir [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
apply_destroy_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
apply_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
apply.go Apply a confirmable run when given a saved cloud plan (#33270) 2023-07-24 14:12:40 -04:00
autocomplete_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
autocomplete.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
cli_ui_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
cli_ui.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
cloud.go Apply suggestions from code review 2023-07-25 09:28:32 -06:00
command_test.go testing framework: introduce test command optional flags (#33504) 2023-07-19 10:07:46 +02:00
command.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
console_interactive_solaris.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
console_interactive.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
console_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
console.go Fix console godoc 2023-07-25 09:28:30 -06:00
flag_kv_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
flag_kv.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
fmt_test.go test framework: add support for testing files to fmt command (#33576) 2023-07-26 10:38:47 +02:00
fmt.go test framework: add support for testing files to fmt command (#33576) 2023-07-26 10:38:47 +02:00
get_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
get.go testing framework: introduce test command optional flags (#33504) 2023-07-19 10:07:46 +02:00
graph_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
graph.go Apply a confirmable run when given a saved cloud plan (#33270) 2023-07-24 14:12:40 -04:00
helper.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
hook_module_install.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
import_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
import.go Plannable import: Generate config for imported resources during the plan. (#33153) 2023-05-11 08:38:37 +02:00
init_test.go [testing framework] allow tests to define and override providers (#33466) 2023-07-10 14:33:15 +01:00
init.go testing framework: introduce test command optional flags (#33504) 2023-07-19 10:07:46 +02:00
login_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
login.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
logout_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
logout.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
meta_backend_migrate_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
meta_backend_migrate.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
meta_backend_test.go Apply a confirmable run when given a saved cloud plan (#33270) 2023-07-24 14:12:40 -04:00
meta_backend.go Apply a confirmable run when given a saved cloud plan (#33270) 2023-07-24 14:12:40 -04:00
meta_config.go testing framework: introduce test command optional flags (#33504) 2023-07-19 10:07:46 +02:00
meta_dependencies.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
meta_new.go Apply a confirmable run when given a saved cloud plan (#33270) 2023-07-24 14:12:40 -04:00
meta_providers.go Add basic global schema cache 2023-07-06 10:37:35 -04:00
meta_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
meta_vars.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
meta.go command: Start of propagating OpenTelemetry context 2023-07-14 10:24:10 -07:00
metadata_command.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
metadata_functions_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
metadata_functions.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
output_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
output.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
plan_test.go command: test plan -refresh= arg ordering (#33483) 2023-07-06 19:28:09 +01:00
plan.go command: help text for generate-config-out (#33279) 2023-05-31 20:42:41 +01:00
plugins_lock_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
plugins_lock.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
plugins_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
plugins.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
providers_lock_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
providers_lock.go command: Start of propagating OpenTelemetry context 2023-07-14 10:24:10 -07:00
providers_mirror_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
providers_mirror.go command: Start of propagating OpenTelemetry context 2023-07-14 10:24:10 -07:00
providers_schema_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
providers_schema.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
providers_test.go [testing framework] allow tests to define and override providers (#33466) 2023-07-10 14:33:15 +01:00
providers.go testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
push.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
refresh_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
refresh.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
show_test.go command/show_test: Update expected error text 2023-07-24 14:12:44 -04:00
show.go Use wrapped types to clean up error reporting in show command 2023-07-24 14:12:44 -04:00
state_command.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_list.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_meta.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_mv_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_mv.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_pull_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_pull.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_push_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_push.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_replace_provider_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_replace_provider.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_rm_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_rm.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_show_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_show.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
taint_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
taint.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
telemetry.go command: Start of propagating OpenTelemetry context 2023-07-14 10:24:10 -07:00
test_test.go testing framework: validate the configuration before terraform test (#33559) 2023-07-26 10:56:44 +02:00
test.go testing framework: validate the configuration before terraform test (#33559) 2023-07-26 10:56:44 +02:00
ui_input_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
ui_input.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
unlock_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
unlock.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
untaint_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
untaint.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
validate_test.go testing framework: validate the configuration before terraform test (#33559) 2023-07-26 10:56:44 +02:00
validate.go testing framework: validate the configuration before terraform test (#33559) 2023-07-26 10:56:44 +02:00
version_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
version.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
workspace_command_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
workspace_command.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
workspace_delete.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
workspace_list.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
workspace_new.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
workspace_select.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
workspace_show.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00