Swift package code coverage (plus Emacs overlay)

from blog lmno.lol @alvaro, | ↗ original
While playing around with Swift package manager, I had a quick look into code coverage options. Luckily, coverage reporting and exporting are supported out of the box (via llvm-cov). Ensure tests are invoked as follows: swift test --enable-code-coverage A high level report can be generated with: xcrun llvm-cov report...