There is a test harness, which downloads and installs vault locally, and then integration tests exist. It loads up a profile and shows it can match an expected value with a value from vault. The tests could be expanded.
The unit tests are very minimal, and are really only those provided by the code generator to validate the plugin.
Related Issue
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New content (non-breaking change)
[ ] Breaking change (a content change which would break existing functionality or processes)
Description
This is a minimal implementation of the plugin, with some bad assumptions and inflexibilities.
https://github.com/inspec/inspec/pull/4406 might make it easier to pull in some user choices, or we could just us ENV variables for all of it.
There is a test harness, which downloads and installs vault locally, and then integration tests exist. It loads up a profile and shows it can match an expected value with a value from vault. The tests could be expanded.
The unit tests are very minimal, and are really only those provided by the code generator to validate the plugin.
Related Issue
Types of changes
Checklist: