inspec/test/unit
Clinton Wolfe 811318f2f8 Plugins API v2: Loader, Base API, and Test Harness (#3278)
* Functional tests for userdir option
* Accepts --config-dir CLI option
* Actually loads a config file from the config dir, more cases to test
* Able to load config and verify contents from config-dir
* Functional tests to ensure precedence for config options
* Enable setting config dir via env var
* .inspec, not .inspec.d
* Begin converting PluginCtl to PluginLoader/Registry
* Able to load and partially validate the plugins.json file
* More work on the plugin loader
* Break the world, move next gen stuff to plugin/
* Be sure to require base cli in bundled plugins
* Move test file
* Revert changes to v1 plugin, so we can have a separate one
* Checkpoint commit
* Move v2 plugin work to v2 area
* Move plugins v1 code into an isolated directory
* rubocop fixes
* Rip out the stuff about a user-dir config file, just use a plugin file
* Two psuedocode test file
* Working base API, moock plugin type, and loader.
* Adjust load path to be more welcoming
* Silence circular depencency warning, which was breaking a unit test
* Linting
* Fix plugin type registry, add tests to cover
* Feedback from Jerry

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-08-16 18:16:32 -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 Plugins API v2: Loader, Base API, and Test Harness (#3278) 2018-08-16 18:16:32 -04:00
objects bugfix: default attributes for nil and false (#2410) 2017-12-21 14:20:59 +01:00
plugin Plugins API v2: Loader, Base API, and Test Harness (#3278) 2018-08-16 18:16:32 -04:00
profiles Remove conditional checks for true and reverse if conditional on 2018-08-09 12:12:47 -07:00
reporters Allow the jsonAutomate report to be executed from cli (#3285) 2018-08-14 20:07:59 -04:00
resource_supports/aws Capture ArgumentErrors from aws. (#2673) 2018-02-17 16:50:35 +01:00
resources add iis_app_pool resource (#2400) 2018-08-09 09:19:49 -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