Wrong code coverage on of unit test
- by KamilPyc
I'm using code coverage for unit tests in Xcode. Everything is working except some special cases, for example protocol declaration shows wrong values.
If I have :
@protocol SomeProtocole <NSObject>
@property (nonatomic, readonly) NSObject *example;
@end
I will get 0% code coverage for this file. But I have unit test that is using class…