Sha256: 6600c9ab1fc7054e3c6858fe7b5b60b95d596e94d1e7f5f70113e0eed37cc930
Contents?: true
Size: 756 Bytes
Versions: 4
Compression:
Stored size: 756 Bytes
Contents
require 'spec/runner/formatter/base_text_formatter' module Spec module Runner module Formatter class ProgressBarFormatter < BaseTextFormatter def example_failed(example, counter, failure) @output.print colourise('F', failure) @output.flush end def example_passed(example) @output.print green('.') @output.flush end def example_pending(example, message, pending_caller) super @output.print yellow('P') @output.flush end def start_dump @output.puts @output.flush end def method_missing(sym, *args) # ignore end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems