Class: Mutant::Reporter::CLI::Progress::Subject
- Inherits:
-
Mutant::Reporter::CLI::Progress
- Object
- Mutant::Reporter::CLI::Printer
- Mutant::Reporter::CLI::Progress
- Mutant::Reporter::CLI::Progress::Subject
- 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
-
#run ⇒ undefined
private
Run printer.
Methods inherited from Mutant::Reporter::CLI::Printer
Methods included from Delegator
Instance Method Details
#run ⇒ undefined
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
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 |