Class: Inspec::Reporters::CLI
Defined Under Namespace
Classes: Control
Constant Summary collapse
- MULTI_TEST_CONTROL_SUMMARY_MAX_LEN =
60
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #output, #rendered_output
Constructor Details
This class inherits a constructor from Inspec::Reporters::Base
Instance Method Details
#render ⇒ Object
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'lib/inspec/reporters/cli.rb', line 57 def render run_data[:profiles].each do |profile| @control_count = 0 output('') print_profile_header(profile) print_standard_control_results(profile) print_anonymous_control_results(profile) output(( indentation: 5, message: 'No tests executed.', )) if @control_count == 0 end output('') print_profile_summary print_tests_summary end |