Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xcov reports 0.00% coverage for ignored iOS extension targets #172

Open
mcicak opened this issue Feb 7, 2020 · 2 comments
Open

xcov reports 0.00% coverage for ignored iOS extension targets #172

mcicak opened this issue Feb 7, 2020 · 2 comments

Comments

@mcicak
Copy link

mcicak commented Feb 7, 2020

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?

@ahmedAlmasri
Copy link

+1 same issue

@diogomusou
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants