Using Xcode 8.2.1
A suite of Swift XCT unit tests isn't highlighting code coverage (with green/red highlighting and numbering) on the corresponding swift file when run.
code coverage : Gather coverage data
in the test
scheme.~/Library/Developer/Xcode/DerivedData
and~/Library/com.apple.dt.Xcode
, in finder.I know the report navigator can show coverage but it is in a detached way.
Works fine on my machine:
Don't forget to choose Editor > Show Code Coverage (you didn't mention that in your little checklist).
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