xcov icon indicating copy to clipboard operation
xcov copied to clipboard

xcov reports 0.00% coverage for ignored iOS extension targets

Open mcicak opened this issue 4 years ago • 2 comments

I have added an entry to ignore iOS extensions: - MyApp/Extensions

and indeed xcov no longer reports any class under MyShareExtension.appex group. However, even though there is no single class to be tested in appex, it reports 0.00% coverage for the entire component and thus reports overall test coverage to be 50% (assuming my main app has 100% coverage).

Can this be fixed or is there a way to ignore the iOS extensions completely with xcov?

mcicak avatar Feb 07 '20 21:02 mcicak

+1 same issue

ahmedAlmasri avatar Apr 27 '20 23:04 ahmedAlmasri

I'm not sure if it works for "appex" but you could try including it in "excluded_targets"

diogomusou avatar Mar 30 '23 20:03 diogomusou