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
horseman-0.0.3 vendor/ruby/1.9.1/gems/rspec-core-2.8.0/lib/rspec/core/formatters/progress_formatter.rb
horseman-0.0.3 vendor/ruby/1.9.1/gems/rspec-core-2.7.1/lib/rspec/core/formatters/progress_formatter.rb
horseman-0.0.2 vendor/ruby/1.9.1/gems/rspec-core-2.7.1/lib/rspec/core/formatters/progress_formatter.rb
rspec-core-2.8.0 lib/rspec/core/formatters/progress_formatter.rb
nutshell-crm-0.0.6.alpha vendor/bundle/gems/rspec-core-2.7.1/lib/rspec/core/formatters/progress_formatter.rb
rspec-core-2.8.0.rc2 lib/rspec/core/formatters/progress_formatter.rb
nutshell-crm-0.0.5 vendor/bundle/gems/rspec-core-2.7.1/lib/rspec/core/formatters/progress_formatter.rb
nutshell-crm-0.0.4 vendor/bundle/gems/rspec-core-2.7.1/lib/rspec/core/formatters/progress_formatter.rb
nutshell-crm-0.0.3 vendor/bundle/gems/rspec-core-2.7.1/lib/rspec/core/formatters/progress_formatter.rb
nutshell-crm-0.0.2 vendor/bundle/gems/rspec-core-2.7.1/lib/rspec/core/formatters/progress_formatter.rb
nutshell-crm-0.0.1 vendor/bundle/gems/rspec-core-2.7.1/lib/rspec/core/formatters/progress_formatter.rb
rspec-core-2.8.0.rc1 lib/rspec/core/formatters/progress_formatter.rb
rspec-core-2.7.1 lib/rspec/core/formatters/progress_formatter.rb
rspec-core-2.7.0 lib/rspec/core/formatters/progress_formatter.rb
rspec-core-2.7.0.rc1 lib/rspec/core/formatters/progress_formatter.rb
messagebus_ruby_api-0.4.7 spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/formatters/progress_formatter.rb
messagebus_ruby_api-0.4.4 spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/formatters/progress_formatter.rb
rspec-core-2.6.4 lib/rspec/core/formatters/progress_formatter.rb
rspec-core-2.6.3 lib/rspec/core/formatters/progress_formatter.rb
rspec-core-2.6.3.beta1 lib/rspec/core/formatters/progress_formatter.rb