Generating CodeCov JSON report from CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run tests with enableCodeCov YES, e.g. fastlane scan with code_coverage: true | |
# In your derived_data folder, run the following: | |
xcrun xcresulttool merge Logs/Test/*.xcresult --output-path bundle.xcresult # Combines all the XCResult files | |
xcrun xccov view --report --json bundle.xcresult > CodeCov-report.json # Generates the report into a JSON file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment