Class: Oncall::Invocations::TestRunner

Inherits:
BaseRunner
  • Object
show all
Defined in:
lib/oncall/invocations/test_runner.rb

Instance Method Summary collapse

Instance Method Details

#run(err, out) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/oncall/invocations/test_runner.rb', line 4

def run(err, out)
  reporter.report do |r|
    suite.map { |g| g.run(r) }
  end

  reporter.success? ? 0 : 1
end