Skip to content

Instantly share code, notes, and snippets.

@kishikawakatsumi
Created April 30, 2020 01:58
Show Gist options
  • Select an option

  • Save kishikawakatsumi/aaf1aefa385dbeb223cae4576a7daea1 to your computer and use it in GitHub Desktop.

Select an option

Save kishikawakatsumi/aaf1aefa385dbeb223cae4576a7daea1 to your computer and use it in GitHub Desktop.
require 'open3'
stdout, stderr, status = Open3.capture3(*['xcrun', 'xccov', 'view', '--report', '/path.to/result.xcresult', '--json'])
puts stdout # => {...}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment