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.7.5 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.7.5 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.7.4 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.7.4 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.7.3 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.7.3 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
tnargav-1.3.3 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/formatters/progress_formatter.rb
tnargav-1.2.3 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.11.1/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.7.2 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.7.2 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.7.1 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.7.1 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.7.0 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.7.0 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
remq-0.0.4 vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/formatters/progress_formatter.rb
remq-0.0.3 vendor/bundle/gems/rspec-core-2.12.2/lib/rspec/core/formatters/progress_formatter.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/rspec-core-2.10.1/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.6.9 vendor/bundle/gems/rspec-core-2.10.0/lib/rspec/core/formatters/progress_formatter.rb
classiccms-0.6.9 vendor/bundle/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb
rspec-core-2.12.2 lib/rspec/core/formatters/progress_formatter.rb