Sha256: 5a5a02eb1b36b755d19c1a6086bf4dcd51b6242077f472732f9c015357d5fc65

Contents?: true

Size: 707 Bytes

Versions: 51

Compression:

Stored size: 707 Bytes

Contents

module Hydra #:nodoc:
  module Listener #:nodoc:
    # Minimal output listener. Outputs all the files at the start
    # of testing and outputs a ./F/E per file. As well as
    # full error output, if any.
    class MinimalOutput < Hydra::Listener::Abstract
      # output a starting message
      def testing_begin(files)
        @output.write "Hydra Testing:\n#{files.inspect}\n"
      end

      # output a finished message
      def testing_end
        @output.write "\nHydra Completed\n"
      end

      # For each file, just output a . for a successful file, or the
      # Failure/Error output from the tests
      def file_end(file, output)
        @output.write output
      end
    end
  end
end

Version data entries

51 entries across 51 versions & 8 rubygems

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