Sha256: 1b245c40338ac20ccde1cf68498fe476dfefc870f64d57175051fe282e0aff23

Contents?: true

Size: 604 Bytes

Versions: 8

Compression:

Stored size: 604 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]
          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.16 lib/mutant/reporter/cli/printer/subject_result.rb
mutant-0.8.15 lib/mutant/reporter/cli/printer/subject_result.rb
mutant-0.8.14 lib/mutant/reporter/cli/printer/subject_result.rb
mutant-0.8.13 lib/mutant/reporter/cli/printer/subject_result.rb
mutant-0.8.12 lib/mutant/reporter/cli/printer/subject_result.rb
mutant-0.8.11 lib/mutant/reporter/cli/printer/subject_result.rb
mutant-0.8.10 lib/mutant/reporter/cli/printer/subject_result.rb
mutant-0.8.9 lib/mutant/reporter/cli/printer/subject_result.rb