inspec/test/unit
Jerry Aldrich 0e1b3fa65a json resource: Add handling for command: error
This provides the user with messages if `json(command: 'command_that_errors')`
exits non-zero and/or has STDERR.

Without this the resource will report "No output from command" when really the
output is contained in STDERR.

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-09-09 15:16:34 -07:00
..
bundles/inspec-supermarket chefstyle -a; https://github.com/chef/chefstyle/pull/74 2019-07-08 17:22:50 -07:00
dependencies Removing inspec/profile_vendor from inspec/base_cli. 2019-06-11 19:16:58 -07:00
dsl chefstyle -a; https://github.com/chef/chefstyle/pull/74 2019-07-08 17:22:50 -07:00
fetchers chefstyle -a; https://github.com/chef/chefstyle/pull/74 2019-07-08 17:22:50 -07:00
inputs Stringify expected test outcomes for inputs 2019-08-26 14:56:39 -04:00
matchers blindly applied chefstyle -a 2019-06-11 18:52:03 -07:00
mock Fix for postfix_conf when using a non-standard config location 2019-09-03 15:28:44 -07:00
plugin Adjust checking for version when installing latest in unit test 2019-08-27 21:29:42 -04:00
profiles Add unit test and include runtime version check in metadata.valid 2019-08-26 23:05:49 -04:00
reporters blindly applied chefstyle -a 2019-06-11 18:52:03 -07:00
resource_supports/aws chefstyle -a cleanup 2019-06-11 18:52:38 -07:00
resources json resource: Add handling for command: error 2019-09-09 15:16:34 -07:00
source_readers Removing inspec/profile_vendor from inspec/base_cli. 2019-06-11 19:16:58 -07:00
utils rework filtertable call and add rubocop exception 2019-07-11 15:04:38 -04:00
backend_test.rb blindly applied chefstyle -a 2019-06-11 18:52:03 -07:00
base_cli_test.rb blindly applied chefstyle -a 2019-06-11 18:52:03 -07:00
cached_fetcher_test.rb These tests probably never passed. 2019-07-29 11:42:30 -07:00
config_test.rb Assert adjustments 2019-08-28 13:25:49 -04:00
file_provider_test.rb Refactor tests for TarProvider and ZipProvider a bit. 2019-09-06 00:42:36 -07:00
impact_test.rb blindly applied chefstyle -a 2019-06-11 18:52:03 -07:00
runner_test.rb chefstyle -a; https://github.com/chef/chefstyle/pull/74 2019-07-08 17:22:50 -07:00
shell_detector_test.rb blindly applied chefstyle -a 2019-06-11 18:52:03 -07:00
ui_test.rb chefstyle -a; https://github.com/chef/chefstyle/pull/74 2019-07-08 17:22:50 -07:00