class Fastlane::Helper::SummarizeXcresultReportHelper
Public Class Methods
xcresult_report_json(file)
click to toggle source
# File lib/fastlane/plugin/xcresult_actions/helper/summarize_xcresult_report_action_helper.rb, line 8 def self.xcresult_report_json(file) require 'open3' require 'json' UI.header('xccov view --report') UI.command('xcrun xccov view --report #{file} --json') stdout, stderr, = Open3.capture3('xcrun', 'xccov', 'view', '--report', file.to_s, '--json') UI.command_output("stderr: #{stderr}") JSON.parse(stdout) end