Method: Inspec::Runner#run_tests

Defined in:
lib/inspec/runner.rb

#run_tests(with = nil) ⇒ Object



156
157
158
159
160
161
# File 'lib/inspec/runner.rb', line 156

def run_tests(with = nil)
  @run_data = @test_collector.run(with)
  # dont output anything if we want a report
  render_output(@run_data) unless @conf["report"]
  @test_collector.exit_code
end