terraform/command
Martin Atkins c12d64f340 Use t.Helper() in our test helpers
Go 1.9 adds this new function which, when called, marks the caller as
being a "helper function". Helper function stack frames are then skipped
when trying to find a line of test code to blame for a test failure, so
that the code in the main test function appears in the test failure output
rather than a line within the helper function itself.

This covers many -- but probaly not all -- of our test helpers across
various packages.
2017-08-28 09:59:30 -07:00
..
clistate
e2etest Use t.Helper() in our test helpers 2017-08-28 09:59:30 -07:00
format command/format: minor adjustments to plan rendering 2017-06-22 07:03:23 -07:00
test-fixtures Merge pull request #15768 from hashicorp/jbardin/remote-import 2017-08-11 09:12:46 -04:00
testdata
apply.go Autoload only .auto.tfvars files 2017-07-05 17:24:17 -07:00
apply_destroy_test.go
apply_test.go add some Serial checks to apply and refresh tests 2017-07-05 18:18:28 -04:00
cli_ui.go
cli_ui_test.go
command.go always pass in the full plugin path to dicovery 2017-06-16 14:09:47 -04:00
command_test.go Use t.Helper() in our test helpers 2017-08-28 09:59:30 -07:00
console.go Autoload only .auto.tfvars files 2017-07-05 17:24:17 -07:00
console_interactive.go
console_interactive_solaris.go
console_test.go
debug_command.go
debug_json2dot.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
debug_json2dot_test.go
flag_kv.go
flag_kv_test.go
fmt.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
fmt_test.go
get.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
get_test.go
graph.go graph should not panic with no config 2017-07-18 13:03:57 -04:00
graph_test.go graph should not panic with no config 2017-07-18 13:03:57 -04:00
hcl_printer.go
hcl_printer_test.go
hook_ui.go Output duration in UiHook after successful operation completion. 2017-08-16 14:41:41 -07:00
hook_ui_test.go Output duration in UiHook after successful operation completion. 2017-08-16 14:41:41 -07:00
import.go update import command docs 2017-08-09 14:01:45 -04:00
import_test.go Don't ForceLocal for the import backend 2017-08-09 10:24:32 -04:00
init.go command/init: Remove extra whitespace 2017-08-17 09:43:09 +02:00
init_test.go test loading of Meta.PluginOverrides 2017-08-09 11:13:54 -04:00
internal_plugin.go
internal_plugin_list.go Add salt-masterless provisioner 2017-08-07 10:00:29 -04:00
internal_plugin_test.go Add salt-masterless provisioner 2017-08-07 10:00:29 -04:00
meta.go Sort arguments in Meta.process 2017-07-06 11:34:47 -04:00
meta_backend.go command: add "apply -auto-approve=false" flag 2017-06-27 11:22:26 -07:00
meta_backend_migrate.go command + backend: rename various API objects to "Workspace" terminology 2017-06-09 16:26:25 -07:00
meta_backend_test.go command + backend: rename various API objects to "Workspace" terminology 2017-06-09 16:26:25 -07:00
meta_new.go
meta_test.go properly cleanup and print correct error messages 2017-07-06 11:33:32 -04:00
module_storage.go
module_storage_test.go
output.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
output_test.go
plan.go Autoload only .auto.tfvars files 2017-07-05 17:24:17 -07:00
plan_test.go
plugins.go load Meta.PluginOverrides in dicovery 2017-08-09 11:14:33 -04:00
plugins_lock.go change providers.json to lock.json 2017-06-09 14:03:59 -07:00
plugins_lock_test.go
plugins_test.go Fix swallowed errors in command package. 2017-07-11 08:01:02 -07:00
providers.go command/providers: Enable processing of meta-parameters 2017-06-10 11:51:06 +01:00
providers_test.go command/providers: Add regression test 2017-06-10 12:02:01 +01:00
push.go Autoload only .auto.tfvars files 2017-07-05 17:24:17 -07:00
push_test.go Don't show plugin init message if there are none 2017-06-19 12:08:42 -04:00
refresh.go Autoload only .auto.tfvars files 2017-07-05 17:24:17 -07:00
refresh_test.go add some Serial checks to apply and refresh tests 2017-07-05 18:18:28 -04:00
show.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
show_test.go
state_command.go
state_list.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
state_list_test.go
state_meta.go Make the state commands use the real command.Meta 2017-07-27 15:33:50 -04:00
state_mv.go update state rm amd mv docs 2017-08-03 13:24:23 -04:00
state_mv_test.go add tests for state commands through a backend 2017-07-27 18:06:47 -04:00
state_pull.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
state_pull_test.go
state_push.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
state_push_test.go create failing test cases for remote lineage issue 2017-08-01 19:34:21 -04:00
state_rm.go make state_rm flag description match state_mv 2017-08-09 14:03:40 -04:00
state_rm_test.go add tests for state commands through a backend 2017-07-27 18:06:47 -04:00
state_show.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
state_show_test.go
state_test.go Make the state commands use the real command.Meta 2017-07-27 15:33:50 -04:00
taint.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
taint_test.go
ui_input.go
ui_input_test.go
unlock.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
unlock_test.go create failing test cases for remote lineage issue 2017-08-01 19:34:21 -04:00
untaint.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
untaint_test.go
validate.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
validate_test.go command/validate: Add flag to check that all variables are specified (#13872) 2017-07-05 17:32:29 +01:00
version.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
version_test.go
workspace_command.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
workspace_command_test.go update workspace new test for inmem backend 2017-08-01 19:34:22 -04:00
workspace_delete.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
workspace_list.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
workspace_new.go Return immediately after newly-added error condition 2017-07-19 15:46:21 -07:00
workspace_select.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00
workspace_show.go Use all tfvars files in working directory 2017-07-05 17:24:17 -07:00