inspec/test/unit
Jerry Aldrich f2d64938b7 windows_feature resource: Add DISM support (#3224)
* windows_feature resource: Add DISM support

This modifies the `windows_feature` resource to fallback to DISM when
the `Get-WindowsFeature` command is not available.

* Allow specifying `:dism` or `:powershell`
* Replace stacktrace with smaller error message
* Add notes/todo about raise behavior
* Remove duplicated platform check

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-07-25 16:00:06 -04:00
..
bundles cli: Downcase supermarket tool name to match URL (#3242) 2018-07-25 15:59:19 -04:00
dependencies Add parent_profile field in json output (#3164) 2018-06-26 13:04:31 -04:00
dsl Generate describe code for an array of strings (#3227) 2018-07-19 15:00:21 -04:00
fetchers Fix the git fetcher to vendor correctly (#3097) 2018-05-31 13:53:14 -04:00
mock windows_feature resource: Add DISM support (#3224) 2018-07-25 16:00:06 -04:00
objects bugfix: default attributes for nil and false (#2410) 2017-12-21 14:20:59 +01:00
plugins Prevent resources from loading if supports check fails (#2665) 2018-02-16 15:15:53 -05:00
profiles When a profile is created with init, the last item after a / is the (#3175) 2018-07-05 15:37:18 -04:00
reporters Add insecure option to the automate report json (#3124) 2018-06-14 14:05:21 -04:00
resource_supports/aws Capture ArgumentErrors from aws. (#2673) 2018-02-17 16:50:35 +01:00
resources windows_feature resource: Add DISM support (#3224) 2018-07-25 16:00:06 -04:00
source_readers Sort gotten file list on test (#2812) 2018-03-14 09:35:43 -04:00
utils nginx_conf resource: Fix include paths with quotes (#2726) 2018-05-03 09:53:20 -04:00
base_cli_test.rb Add automate reporter (#2902) 2018-04-05 08:51:51 -04:00
file_provider_test.rb Remove meaningless stdout message (#2313) 2017-11-17 15:56:36 -05:00
helper.rb Rely on unit test helper to load resources, not individual AWS tests 2018-02-07 12:09:08 -05:00
runner_test.rb Allow ad-hoc runners to use rspec formats. (#2621) 2018-02-12 19:29:54 +01:00
shell_detector_test.rb Corrected some unit test warnings (#2242) 2017-10-17 14:49:26 +02:00