Class: TestProf::Autopilot::EventProf::Writer

Inherits:
ReportWriter
  • Object
show all
Defined in:
lib/test_prof/autopilot/event_prof/writer.rb

Overview

Class is used for writing :event_prof report in different formats

Constant Summary collapse

ARTIFACT_FILE =
"event_prof_report"

Instance Attribute Summary

Attributes inherited from ReportWriter

#report

Instance Method Summary collapse

Methods inherited from ReportWriter

#initialize, #write, write_report

Methods included from Logging

log

Constructor Details

This class inherits a constructor from TestProf::Autopilot::ReportWriter

Instance Method Details

#generate_jsonObject



14
15
16
# File 'lib/test_prof/autopilot/event_prof/writer.rb', line 14

def generate_json
  JSON.generate(report.raw_report)
end