Sha256: ee4e266232d6d59919b1ee01f096ed8a50b848a1d20b2372b97870e01f79a179

Contents?: true

Size: 676 Bytes

Versions: 5

Compression:

Stored size: 676 Bytes

Contents

module Mutant
  class Reporter
    class CLI
      class Report

        # Subject report printer
        class Subject < self
          handle(Mutant::Runner::Subject)

          delegate :subject, :failed_mutations

          # Run report printer
          #
          # @return [self]
          #
          # @api private
          #
          def run
            status(subject.identification)
            object.tests.each do |test|
              puts("- #{test.identification}")
            end
            object.failed_mutations.each(&method(:visit))
            self
          end

        end # Subject
      end # Report
    end # CLI
  end # Reporter
end # Mutant

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mutant-0.5.24 lib/mutant/reporter/cli/report/subject.rb
mutant-0.5.23 lib/mutant/reporter/cli/report/subject.rb
mutant-0.5.22 lib/mutant/reporter/cli/report/subject.rb
mutant-0.5.21 lib/mutant/reporter/cli/report/subject.rb
mutant-0.5.20 lib/mutant/reporter/cli/report/subject.rb