Sha256: 9f1f774fc42e21c754e3166fa7c63904be839ea7a957cfd5b91f53a0788a6f4b

Contents?: true

Size: 756 Bytes

Versions: 1

Compression:

Stored size: 756 Bytes

Contents

require 'cucumber/formatter/console'
require 'cucumber/formatter/io'

module Cucumber #:nodoc:
  module Formatter #:nodoc:
    # Hydra formatter for cucumber.
    # Stifles all output except error messages
    # Based on the 
    class Hydra < Cucumber::Formatter::Progress
      # Removed the extra newlines here
      def after_features(features)
        print_summary(features)
      end

      private
      
      # Removed the file statistics
      def print_summary(features)
        print_steps(:pending)
        print_steps(:failed)
        print_snippets(@options)
        print_passing_wip(@options)
        print_tag_limit_warnings(features)
      end

      # Removed all progress output
      def progress(status)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hydra-0.15.0 lib/hydra/cucumber/formatter.rb