Class: Mutant::Reporter::CLI::Printer::Test::EnvResult Private

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

Overview

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

Full env result reporter

Constant Summary collapse

FORMATS =

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

[
  [:info,   'Test-Results: %0d',     :amount_test_results    ],
  [:info,   'Test-Failed:  %0d',     :amount_tests_failed    ],
  [:info,   'Test-Success: %0d',     :amount_tests_success   ],
  [:info,   'Runtime:      %0.2fs',  :runtime                ],
  [:info,   'Testtime:     %0.2fs',  :testtime               ],
  [:info,   'Efficiency:   %0.2f%%', :efficiency_percent     ]
].each(&:freeze)

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

NL

Instance Method Summary collapse

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

#call

Methods included from Procto

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)


70
71
72
73
74
75
76
# File 'lib/mutant/reporter/cli/printer/test.rb', line 70

def run
  visit_failed
  visit(Env, object.env)
  FORMATS.each do |report, format, value|
    __send__(report, format, __send__(value))
  end
end