Skip to content

mkchoi212/xcperfect

Repository files navigation



Installation

$ gem install xcperfect

Usage

  • Pipe
$ xcrun xccov --json [options] | xcperfect [options]
  • Feed it in via flags
$ xcperfect [--file | -f] report.json [options]

⚠️ Please note that xcperfect only takes in xccov's --json output

Formats

  • --all, -a Default

All

  • --simple, -s

Simple

  • --html (COMING SOON)

⚙️ Options

  • --[no]-color: turn on or off coloring (default is on)
  • --[no]-utf8: turn on or off usage of UTF-8 for output (default is on)
  • -t, --targets=x,y,z: choose targets to generate reports for

✋ Contributing

This is an open source project so feel free to contribute by

Note

The name xcperfect is not trying to convey that the code is perfect by any means. The code is far from perfect as this is my first Ruby project; PRs are welcome and appreciated 😀

❗ Fun fact! xcperfect has only one dependency - rouge - for syntax highlighting. So if you are already using xcpretty, no additional dependencies are required

LICENSE

LICENSE.md

Releases

No releases published

Packages

No packages published

Languages