Class: Henitai::Reporter::Json
Overview
JSON reporter.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Henitai::Reporter::Base
Instance Method Details
#report(result) ⇒ Object
214 215 216 217 218 |
# File 'lib/henitai/reporter.rb', line 214 def report(result) FileUtils.mkdir_p(File.dirname(report_path)) File.write(report_path, JSON.pretty_generate(result.to_stryker_schema)) write_history_report end |