Sha256: 2251d992bb2eab43346418f4d51879fcf7f9c26ef8a40ab28e6b81a89a1a7356
Contents?: true
Size: 756 Bytes
Versions: 37
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('*') @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
37 entries across 37 versions & 9 rubygems