Sha256: 5ab7c9c648cabc3e534c42d72a6c11e8e2513e7312382be3404f68b3fae654a5
Contents?: true
Size: 740 Bytes
Versions: 6
Compression:
Stored size: 740 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) 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
6 entries across 6 versions & 2 rubygems