jonreid / XcodeCoverage

Code coverage for Xcode projects (Objective-C only)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bizzarre results on codecoverage

ignazioc opened this issue · comments

First of all, thanks for this script.
I tested this script with a sample project (here the source: https://github.com/ignazioc/SampleCodeCoverage)
and the report shows 0% coverage on the unique sample class inside the project.

But when i use cover story on the same project it shows 100% coverage.

Apologies for taking so long to notice this issue. It puzzled me, but I finally found it: SampleClass.m has a target membership of both the app and the tests, which is incorrect. Take it out of the tests.