Module: TestProf::Autopilot::FactoryProf::Printer

Defined in:
lib/test_prof/autopilot/factory_prof/printer.rb

Overview

Module is used for printing :factory_prof report

Defined Under Namespace

Classes: PrinterError

Class Method Summary collapse

Class Method Details



12
13
14
15
16
17
# File 'lib/test_prof/autopilot/factory_prof/printer.rb', line 12

def print_report(report)
  result = report.result

  # TODO: Move total_time to the report
  TestProf::FactoryProf::Printers::Simple.dump(result, start_time: TestProf.now, threshold: 0)
end