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

is it possible to add a report including the overall of code coverage? #313

Open
jesus-mg-ios opened this issue Jan 17, 2023 · 2 comments
Open

Comments

@jesus-mg-ios
Copy link

jesus-mg-ios commented Jan 17, 2023

Hi community:

Thanks for this marvelous tool. I'm thinking about getting the overall code coverage, that is to say, the % of coverage including all targets, like xcov makes.

Thanks in advance

@CoderYLZhang
Copy link

+1

@kevin-brotcke
Copy link
Contributor

It would be pretty easy to include the overall code coverage percentage since it's already included in the test results and XCResultKit (underlying library that parses data) supports it already. See https://github.com/davidahouse/XCResultKit/blob/main/Sources/XCResultKit/Schema/ResultMetrics.swift#L27

Additional code coverage data is extracted here. Although, I agree with a previous open issue that displaying the drilled down code coverage should be separate from this tool.

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