Class: Mutant::Reporter::CLI::Progress::Subject

Inherits:
Mutant::Reporter::CLI::Progress show all
Defined in:
lib/mutant/reporter/cli/progress/subject.rb

Overview

CLI progress reporter for subjects

Constant Summary

Constants inherited from Mutant::Reporter::CLI::Printer

Mutant::Reporter::CLI::Printer::NL

Instance Method Summary collapse

Methods inherited from Mutant::Reporter::CLI::Printer

run

Methods included from Delegator

included

Instance Method Details

#runundefined

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Run printer

Returns:

  • (undefined)


16
17
18
19
20
21
# File 'lib/mutant/reporter/cli/progress/subject.rb', line 16

def run
  puts("#{object.identification} mutations: #{object.mutations.length}")
  object.tests.each do |test|
    puts "- #{test.identification}"
  end
end