Module: Anyt::ReporterPatch
- Defined in:
- lib/anyt/ext/minitest.rb
Overview
Patch Spec reporter
Instance Method Summary collapse
-
#record_print_status(test) ⇒ Object
:nodoc:.
Instance Method Details
#record_print_status(test) ⇒ Object
:nodoc:
143 144 145 146 147 148 149 |
# File 'lib/anyt/ext/minitest.rb', line 143 def record_print_status(test) test_name = test.name.gsub(/^test_/, "").strip print(magenta { pad_test(test_name) }) print_colored_status(test) print(" (%.2fs)" % test.time) unless test.time.nil? puts end |