You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swift Package Manager uses a new format to generate coverage data for code. Instead of an xccoverage file, a json is generated by SPM containing the coverage data. For an existing swift package, run
swift 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:
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: