def finish_suite(suite)
total = suite.count_tests
passes = suite.count_passes
assertions = suite.count_assertions
failures = suite.count_failures
errors = suite.count_errors
skips = suite.count_skips
bar = '=' * 78
if colorize?
bar = if pass == total then Colorize.green(bar)
else Colorize.red(bar) end
end
tally = [total, assertions, (Time.new - @time)]
io.puts bar
io.puts " pass: %d, fail: %d, error: %d, skip: %d" % [passes, failures, errors, skips]
io.puts " total: %d tests with %d assertions in %f seconds" % tally
io.puts bar
end