Create code coverage reports for iOS unit tests using new Xocde 7 code coverage feature. The Old Way I’ll start with back reference to another post I wrote earlier, which describes the process of getting code coverage reports using good old gcov. To try out the old approach checkout this repository and run the scripts. # Run tests with gcov instrumentation ./test-gcov.sh # Generate Cobertura cover
![Code Coverage for iOS (Xcode 7) - NSBogan](https://cdn-ak-scissors.b.st-hatena.com/image/square/7e2a14321d302090740eb41cffef6a70d47ba200/height=288;version=1;width=512/http%3A%2F%2Fmgrebenets.github.io%2Fassets%2Fimages%2Fxcode-code-coverage%2Fxcode-coverage.png)