Sha256: a62ce958ac63f245579a4a76d790ae591015a598b7eb5ec19ebf5a87c4fef624

Contents?: true

Size: 682 Bytes

Versions: 24

Compression:

Stored size: 682 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)
      end

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

Version data entries

24 entries across 24 versions & 7 rubygems

Version Path
ngauthier-hydra-0.24.0 lib/hydra/cucumber/formatter.rb
nulogy-hydra-0.26.0 lib/hydra/cucumber/formatter.rb
arturop-hydra-0.25.0 lib/hydra/cucumber/formatter.rb
arturop-hydra-0.24.0 lib/hydra/cucumber/formatter.rb
hydra-0.24.0 lib/hydra/cucumber/formatter.rb
nulogy-hydra-0.23.2.1 lib/hydra/cucumber/formatter.rb
justinf-hydra-0.23.8 lib/hydra/cucumber/formatter.rb
justinf-hydra-0.23.7 lib/hydra/cucumber/formatter.rb
justinf-hydra-0.23.6 lib/hydra/cucumber/formatter.rb
justinf-hydra-0.23.5 lib/hydra/cucumber/formatter.rb
justinf-hydra-0.23.4 lib/hydra/cucumber/formatter.rb
arturop-hydra-0.23.4 lib/hydra/cucumber/formatter.rb
sskirby-hydra-0.23.3 lib/hydra/cucumber/formatter.rb
hydra-0.23.3 lib/hydra/cucumber/formatter.rb
causes-hydra-0.21.0 lib/hydra/cucumber/formatter.rb
hydra-0.23.2 lib/hydra/cucumber/formatter.rb
hydra-0.23.1 lib/hydra/cucumber/formatter.rb
hydra-0.23.0 lib/hydra/cucumber/formatter.rb
hydra-0.22.2 lib/hydra/cucumber/formatter.rb
hydra-0.22.1 lib/hydra/cucumber/formatter.rb