Method: Inspec::RunnerRspec#run
- Defined in:
- lib/inspec/runner_rspec.rb
#run(with = nil) ⇒ int
Run all registered tests with an optional test runner.
75 76 77 78 79 |
# File 'lib/inspec/runner_rspec.rb', line 75 def run(with = nil) with ||= RSpec::Core::Runner.new(nil) @rspec_exit_code = with.run_specs(tests) @formatter.results end |