Sha256: acc0649dda5adfbdc555d5b9350562320113bba90d826e46cbcbffcbde3a1d49

Contents?: true

Size: 582 Bytes

Versions: 195

Compression:

Stored size: 582 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 green('.')
        end

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

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

        def start_dump
          super()
          output.puts
        end

      end

    end
  end
end

Version data entries

195 entries across 140 versions & 18 rubygems

Version Path
classiccms-0.6.0 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
gem_repackager-0.1.0 support/gems/rspec-core-2.11.1/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.17 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.17 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.16 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.16 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.15 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.15 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.14 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.14 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.13 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.13 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/rspec-core-2.11.1/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.12 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.12 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.11 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.11 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.10 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.10 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.5.9 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb