Class: ParallelSplitTest::Runner

Inherits:
RSpec::Core::Runner
  • Object
show all
Defined in:
lib/parallel_split_test/runner.rb

Class Method Summary collapse

Class Method Details

.run(args, err = $stderr, out = $stdout) ⇒ Object

stripped down version of run without –drb support / option parsing



9
10
11
12
13
14
15
16
17
# File 'lib/parallel_split_test/runner.rb', line 9

def self.run(args, err=$stderr, out=$stdout)
  trap_interrupt

  report_execution_time(out) do
    ParallelSplitTest::CommandLine.new(args).run(err, out)
  end
ensure
  RSpec.reset
end