Class: Mutant::Reporter::CLI::Printer::SubjectResult

Inherits:
Mutant::Reporter::CLI::Printer show all
Defined in:
lib/mutant/reporter/cli/printer.rb

Overview

Subject report printer

Constant Summary

Constants inherited from 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

#runself

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 report printer

Returns:

  • (self)


278
279
280
281
282
283
284
285
# File 'lib/mutant/reporter/cli/printer.rb', line 278

def run
  status(subject.identification)
  subject.tests.each do |test|
    puts("- #{test.identification}")
  end
  visit_collection(MutationResult, object.alive_mutation_results)
  self
end