30

I know about new feature in Xcode 7 - Code Coverage. I know how to turn it on:

go to Edit scheme -> Test -> Info tab -> enable Gather coverage data.

I did it, run tests, and... Where is Test Report for my tests?

Mick MacCallum
  • 129,200
  • 40
  • 280
  • 281
Bartłomiej Semańczyk
  • 59,234
  • 49
  • 233
  • 358

2 Answers2

51

Since you turned it on in your scheme, and then build and test:

enter image description here

enter image description here

Go to your Report navigator

enter image description here

Then select your last test:
enter image description here

Finally choose Coverage tab:
enter image description here

Bartłomiej Semańczyk
  • 59,234
  • 49
  • 233
  • 358
2

Remember also to enabled test coverage in your bot settings, there is new picker in Xcode 7 (Disabled by default)

enter image description here

Jakub
  • 13,712
  • 17
  • 82
  • 139
  • 1
    What is "bot settings"? – Bartłomiej Semańczyk Oct 01 '15 at 14:28
  • 2
    When you use a OSX Server and enable Xcode server, you must create a bot to perform actions (builds, tests, distribution, etc.). Know more reading "continuous integration": https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/ – Marcelo dos Santos Oct 15 '15 at 13:16