Class: MicroTest::MinFormatter

Inherits:
BaseFormatter show all
Defined in:
lib/micro_test/formatters/min_formatter.rb

Instance Attribute Summary

Attributes inherited from BaseFormatter

#duration, #failed, #passed

Instance Method Summary collapse

Methods inherited from BaseFormatter

#after_class, #after_results, #after_test, #before_class, #before_suite, #before_test, inherited, #initialize, set_short_name, short_name

Constructor Details

This class inherits a constructor from MicroTest::BaseFormatter

Instance Method Details

#after_suite(test_classes) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/micro_test/formatters/min_formatter.rb', line 7

def after_suite(test_classes)
  puts
  puts "Passed: #{green passed}"
  puts "Failed: #{red failed}"
  puts "".ljust(80, "-")
  puts "Finished in #{duration} seconds."
  puts
end