Method: Inspec::RunnerRspec#reset

Defined in:
lib/inspec/runner_rspec.rb

#resetnil

Empty the list of registered tests.

Returns:

  • (nil)


92
93
94
95
96
97
# File 'lib/inspec/runner_rspec.rb', line 92

def reset
  @tests = RSpec::Core::World.new
  # resets "pending examples" in reporter
  RSpec.configuration.reset
  configure_output
end