About
Generating a code coverage report for iOS and OSX projects requires a mish-mash of tools and steps. Here we've glued them all together into something that (hopefully) just works. All it took was a little Java, some Perl, a few shell scripts, a couple of Ruby Gems . . . and now you can:
- Generate a report with minimal steps.
- Output to the terminal as well as produce a detailed report in build-server friendly HTML format.
- Use the optional coverage checker, for example in CI builds to check minimum test coverage - failing the build if coverage falls below the required amount.
- Use it for free for both commercial and open-source projects!
Swift? Sorry, no dice
As yet there's no way to generate code coverage reports for Swift. If, like us, you'd like to see this implemented by Apple, please vote on this issue.