-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Parsing Coverage Data for Swift Packages #201
Comments
@joshdholtz Created this issue after your suggestion on my tweet 🙏🏽 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
Swift Package Manager uses a new format to generate coverage data for code. Instead of an
xccoverage
file, ajson
is generated by SPM containing the coverage data. For an existing swift package, runswift test --enable-code-coverage
This would generate a
<Your_Package_Name>.json
file in.build/debug/codecov
directory.https://github.com/mattpolzin/swift-test-codecov uses this json to parse coverage details, and print coverage data on console. Can a similar approach be used by xcov to parse coverage data for Swift Packages?
The text was updated successfully, but these errors were encountered: