Sha256: 958a56e840c49a2a35298ab81785602c584f6ebb67367d9e0bec31623d46c372

Contents?: true

Size: 725 Bytes

Versions: 23

Compression:

Stored size: 725 Bytes

Contents

require 'cucumber/formatter/progress'

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

23 entries across 23 versions & 3 rubygems

Version Path
bellmyer-hydra-0.20.12 lib/hydra/cucumber/formatter.rb
bellmyer-hydra-0.20.11 lib/hydra/cucumber/formatter.rb
bellmyer-hydra-0.20.10 lib/hydra/cucumber/formatter.rb
bellmyer-hydra-0.20.9 lib/hydra/cucumber/formatter.rb
hydra-0.19.4 lib/hydra/cucumber/formatter.rb
hydra-0.19.3 lib/hydra/cucumber/formatter.rb
hydra-0.19.2 lib/hydra/cucumber/formatter.rb
hydra-0.19.1 lib/hydra/cucumber/formatter.rb
hydra-0.19.0 lib/hydra/cucumber/formatter.rb
hydra-0.18.0 lib/hydra/cucumber/formatter.rb
sskirby-hydra-0.17.1 lib/hydra/cucumber/formatter.rb
sskirby-hydra-0.16.10 lib/hydra/cucumber/formatter.rb
hydra-0.17.0 lib/hydra/cucumber/formatter.rb
sskirby-hydra-0.16.9 lib/hydra/cucumber/formatter.rb
hydra-0.16.7 lib/hydra/cucumber/formatter.rb
hydra-0.16.6 lib/hydra/cucumber/formatter.rb
hydra-0.16.5 lib/hydra/cucumber/formatter.rb
hydra-0.16.4 lib/hydra/cucumber/formatter.rb
hydra-0.16.3 lib/hydra/cucumber/formatter.rb
hydra-0.16.2 lib/hydra/cucumber/formatter.rb