mirror of
https://github.com/inspec/inspec
synced 2024-12-24 12:03:23 +00:00
769d492108
This takes the run time from ~3 minutes to ~1 minute (in parallel). Signed-off-by: Ryan Davis <zenspider@chef.io>
23 lines
793 B
Ruby
23 lines
793 B
Ruby
require_relative "helper"
|
|
|
|
class PluginManagerCliHelp < Minitest::Test
|
|
include CorePluginFunctionalHelper
|
|
|
|
# Main inspec help subcommand listing
|
|
def test_inspec_help_includes_plugin
|
|
result = run_inspec_process_with_this_plugin("help")
|
|
skip_windows!
|
|
assert_includes result.stdout, "inspec plugin"
|
|
end
|
|
|
|
# inspec plugin help subcommand listing
|
|
def test_inspec_plugin_help_includes_plugin
|
|
result = run_inspec_process_with_this_plugin("plugin help")
|
|
skip_windows!
|
|
assert_includes result.stdout, "inspec plugin list"
|
|
assert_includes result.stdout, "inspec plugin search"
|
|
assert_includes result.stdout, "inspec plugin install"
|
|
assert_includes result.stdout, "inspec plugin update"
|
|
assert_includes result.stdout, "inspec plugin uninstall"
|
|
end
|
|
end
|