require_relative "artifact_helper" class TestInspecHelp < Minitest::Test def test_help command = "/bin/inspec help #{TEST_CLI_OPTS}" stdout, stderr, status = Open3.capture3(command) assert_empty stderr.sub(/#< CLIXML\n/, "") assert stdout assert status end end