Sha256: c269c87ec8590f4674760e46621d5f4b40b128866af52aa524138cbd7c11840b

Contents?: true

Size: 824 Bytes

Versions: 5

Compression:

Stored size: 824 Bytes

Contents

module Mutant
  class Reporter
    class CLI
      class Progress
        # Progress printer for configuration
        class Config < self

          handle(Mutant::Runner::Config)

          delegate :config

          # Report configuration
          #
          # @param [Mutant::Config] config
          #
          # @return [self]
          #
          # @api private
          #
          def run
            if running?
              info 'Mutant configuration:'
              info 'Matcher:         %s',     config.matcher.inspect
              info 'Strategy:        %s',     config.strategy.inspect
              info 'Expect Coverage: %02f%%', config.expected_coverage.inspect
            end
            self
          end

        end # Progress
      end # Printer
    end # CLI
  end # Reporter
end # Mutant

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mutant-0.5.21 lib/mutant/reporter/cli/progress/config.rb
mutant-0.5.20 lib/mutant/reporter/cli/progress/config.rb
mutant-0.5.19 lib/mutant/reporter/cli/progress/config.rb
mutant-0.5.18 lib/mutant/reporter/cli/progress/config.rb
mutant-0.5.17 lib/mutant/reporter/cli/progress/config.rb