Class: Kintama::Runner::Default

Inherits:
Base
  • Object
show all
Defined in:
lib/kintama/runner.rb

Overview

Runs every test provided as part of the constructor

Instance Attribute Summary

Attributes inherited from Base

#runnables

Instance Method Summary collapse

Methods inherited from Base

#failures, #initialize, #passed?, #pending, #run, #with

Constructor Details

This class inherits a constructor from Kintama::Runner::Base

Instance Method Details

#run_tests(reporter) ⇒ Object



43
44
45
46
47
48
# File 'lib/kintama/runner.rb', line 43

def run_tests(reporter)
  @runnables.each do |r|
    r.run(reporter)
  end
  @runnables
end