module MotionSpec::FastOutput

Public Instance Methods

handle_requirement_begin(description) click to toggle source
# File lib/motion-spec/output/fast.rb, line 6
def handle_requirement_begin(description); end
handle_requirement_end(error) click to toggle source
# File lib/motion-spec/output/fast.rb, line 8
def handle_requirement_end(error)
  return if error.empty?
  print error[0..0]
end
handle_specification_begin(name) click to toggle source
# File lib/motion-spec/output/fast.rb, line 3
def handle_specification_begin(name); end
handle_specification_end() click to toggle source
# File lib/motion-spec/output/fast.rb, line 4
def handle_specification_end; end
handle_summary() click to toggle source
# File lib/motion-spec/output/fast.rb, line 13
def handle_summary
  puts '', "Finished in #{Time.now - @timer} seconds."
  puts ErrorLog if Backtraces
  puts '%d tests, %d assertions, %d failures, %d errors' %
    Counter.values_at(:specifications, :requirements, :failed, :errors)
end