Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 779 Bytes

File metadata and controls

35 lines (24 loc) · 779 Bytes

Coverage Dirs

View xcode coverage data by folder

Go from this:

To this:

Usage

Find xcresults file from Report navigator in Xcode:

finding coverage

You can then drag and drop, or use open dialog to read the file.

Getting JSON using terminal

Run

xcrun xccov view --report --json <.xcresult file> | pbcopy

to copy coverage json. Paste the output to Coverage Dirs (it will already be in clipboard because of pbcopy)

You can open JSON input in Coverage Dirs in: File > Input JSON (⌘ + I )