I am using Apollo SDK, which generates an API.swift file. Can we exclude this file from the code coverage
You can't exclude files from code coverage report directly in Xcode. You can use external tools like xcov or slather to generate HTML version of report and set list of excluded files in its config file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With