class TOTS::Runner

The runner

Public Class Methods

<<(spec) click to toggle source
# File lib/tots/runner.rb, line 6
def self.<<(spec)
  specs << spec
end
specs() click to toggle source
# File lib/tots/runner.rb, line 10
def self.specs
  @specs ||= []
end
start() click to toggle source
# File lib/tots/runner.rb, line 14
def self.start
  specs.each(&:run)

  TOTS::Printer.finish

  TOTS::Watcher.check
end