# File lib/turn/autorun/testunit0.rb, line 30 def t_finished( elapsed_time ) failure = @t_result.failure_count error = @t_result.error_count total = @t_result.run_count pass = total - failure - error bar = '=' * 78 if colorize? bar = if pass == total then ::ANSI::Code.green{bar} else ::ANSI::Code.red{bar} end end turn_out.puts bar turn_out.puts " pass: %d, fail: %d, error: %d" % [pass, failure, error] turn_out.puts " total: %d tests with %d assertions in #{elapsed_time} seconds" % [total, @t_result.assertion_count] turn_out.puts bar end