inspec/test/unit/mock/config_dirs/test-fixture-1-float
Clinton Wolfe 857b9bb11c Plugins: Support for Train Plugins in InSpec (#3444)
* Unit tests passing for loading Train plugins
* detect works with a train test fixture
* Update fixture install of train-fixture-plugin
* Add functional tests for detect and shell when talking to a train plugin backend
* Update docs to reflect availability of Train plugins
* Functional test for install train plugin from path
* Working install train plugin from path, more tests for installing from odd locations
* PR Feedback

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-09-27 18:46:35 -04:00
..
gems Plugins: Support for Train Plugins in InSpec (#3444) 2018-09-27 18:46:35 -04:00
plugins.json Add audit-cookbook integration testing (#3431) 2018-09-25 15:53:26 -04:00
README.md Plugins Installer API (#3352) 2018-09-19 17:38:13 -04:00

This test fixture is a user config dir setup as though the inspec-test-fixture v1 was already installed, and it has no version constraint.

This was accomplished by executing (without bundler) the following commands:

mkdir -p test/unit/mock/config_dirs/test-fixture-1-float/gems/{2.3.0,2.4.0,2.5.0}
# Here I'm running a ruby 2.4.x binary with rbenv
gem install -l -N -i test/unit/mock/config_dirs/test-fixture-1-float/gems/2.4.0 test/unit/mock/plugins/inspec-test-fixture/pkg/inspec-test-fixture-0.1.0.gem

Note that we will need to add an installation tree each time we support a new minor or major version of the Ruby VM.