Sha256: 4244b91a9318fcc55ab597b27bef6be38ef283ab5fabc51f844e2112e723b98c

Contents?: true

Size: 629 Bytes

Versions: 3

Compression:

Stored size: 629 Bytes

Contents

module Micronaut
  module Formatters
    
    class ProgressFormatter < BaseTextFormatter
      
      def example_failed(example, exception)
        super
        @output.print colorise('F', exception)
        @output.flush
      end

      def example_passed(example)
        @output.print green('.')
        @output.flush
      end

      def example_pending(example, message)
        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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spicycode-micronaut-0.0.5 lib/micronaut/formatters/progress_formatter.rb
spicycode-micronaut-0.0.6 lib/micronaut/formatters/progress_formatter.rb
spicycode-micronaut-0.0.7 lib/micronaut/formatters/progress_formatter.rb