Class: Leaks::RSpecRunner
- Inherits:
-
RSpec::Core::Runner
- Object
- RSpec::Core::Runner
- Leaks::RSpecRunner
- Defined in:
- lib/leaks/rspec_runner.rb
Class Method Summary collapse
Class Method Details
.run(args, err, out) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/leaks/rspec_runner.rb', line 5 def self.run(args, err, out) trap_interrupt = RSpec::Core::ConfigurationOptions.new(args) . unless RSpec::Core::CommandLine.new().run(err, out) == 0 raise RSpecError.new("A test has failed, quitting now. Run again in verbose mode to diagnose the problem") end end |