Sha256: 2deb3181d4e12649546812f35c595c64d7443c3fac2f5301e25821cbd83a179d

Contents?: true

Size: 641 Bytes

Versions: 8

Compression:

Stored size: 641 Bytes

Contents

module Mutant
  class Reporter
    class CLI
      class Printer
        # Subject result printer
        class SubjectResult < self

          delegate :subject, :alive_mutation_results, :tests

          # Run report printer
          #
          # @return [undefined]
          #
          # @api private
          def run
            status(subject.identification)
            tests.each do |test|
              puts("- #{test.identification}")
            end
            visit_collection(MutationResult, alive_mutation_results)
          end

        end # SubjectResult
      end # Printer
    end # CLI
  end # Reporter
end # Mutant

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mutant-0.8.8 lib/mutant/reporter/cli/printer/subject_result.rb
mutant-0.8.7 lib/mutant/reporter/cli/printer/subject_result.rb
mutant-0.8.6 lib/mutant/reporter/cli/printer/subject_result.rb
mutant-0.8.5 lib/mutant/reporter/cli/printer/subject_result.rb
mutant-0.8.4 lib/mutant/reporter/cli/printer/subject_result.rb
mutant-0.8.3 lib/mutant/reporter/cli/printer/subject_result.rb
mutant-0.8.2 lib/mutant/reporter/cli/printer/subject_result.rb
mutant-0.8.1 lib/mutant/reporter/cli/printer/subject_result.rb