jMan
jMan

Reputation: 637

Why isn't Xcode showing test coverage?

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.

I know the report navigator can show coverage but it is in a detached way.

Upvotes: 6

Views: 2882

Answers (1)

matt
matt

Reputation: 534893

Works fine on my machine:

enter image description here

enter image description here

Don't forget to choose Editor > Show Code Coverage (you didn't mention that in your little checklist).

Upvotes: 9

Related Questions