Sha256: 45b004c9d5f0acd0e5a4fe12b7e53e5c5932c347c6631d59d4b2a93bdb4a7fb2

Contents?: true

Size: 607 Bytes

Versions: 53

Compression:

Stored size: 607 Bytes

Contents

require 'rspec/core/formatters/base_text_formatter'
module RSpec
  module Core
    module Formatters

      class ProgressFormatter < BaseTextFormatter

        def example_passed(example)
          super(example)
          output.print success_color('.')
        end

        def example_pending(example)
          super(example)
          output.print pending_color('*')
        end

        def example_failed(example)
          super(example)
          output.print failure_color('F')
        end

        def start_dump
          super()
          output.puts
        end

      end

    end
  end
end

Version data entries

53 entries across 53 versions & 14 rubygems

Version Path
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/progress_formatter.rb
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/progress_formatter.rb
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/progress_formatter.rb
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/progress_formatter.rb
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/progress_formatter.rb
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/progress_formatter.rb
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/progress_formatter.rb
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/rspec-core-2.14.8/lib/rspec/core/formatters/progress_formatter.rb
opal-rspec-cj-0.4.4 vendor_lib/rspec/core/formatters/progress_formatter.rb
opal-rspec-0.4.3 vendor_lib/rspec/core/formatters/progress_formatter.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/rspec-core-2.14.8/lib/rspec/core/formatters/progress_formatter.rb
opal-rspec-0.4.2 vendor_lib/rspec/core/formatters/progress_formatter.rb
opal-rspec-0.4.1 vendor_lib/rspec/core/formatters/progress_formatter.rb
opal-rspec-0.4.0 vendor_lib/rspec/core/formatters/progress_formatter.rb
opal-rspec-0.4.0.beta4 vendor_lib/rspec/core/formatters/progress_formatter.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/rspec-core-2.13.0/lib/rspec/core/formatters/progress_formatter.rb
rspec-core-2.99.2 lib/rspec/core/formatters/progress_formatter.rb
dxruby_rp5-0.0.4 spec/vendor/rspec-core-2.14.7/lib/rspec/core/formatters/progress_formatter.rb
rspec-core-2.99.1 lib/rspec/core/formatters/progress_formatter.rb
rspec-core-2.99.0 lib/rspec/core/formatters/progress_formatter.rb