Method: Inspec::RunnerRspec#run
- Defined in:
- lib/inspec/runner_rspec.rb
#run(with = nil) ⇒ int
Run all registered tests with an optional test runner.
63 64 65 66 |
# File 'lib/inspec/runner_rspec.rb', line 63 def run(with = nil) with ||= RSpec::Core::Runner.new(nil) with.run_specs(tests) end |