Sha256: c134db05b4d4cf2e1e78d3b88d1662eff36212dc18e54885814222b37e74fca7
Contents?: true
Size: 763 Bytes
Versions: 13
Compression:
Stored size: 763 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 colorize_failure('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('*') @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
13 entries across 13 versions & 2 rubygems