Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to gather coverage data on XCode 9.3?

I updated Xcode to 9.3 and now cannot find where is the 'Gather coverage data' checkmark. Where is it located now?

This is how it used to be

This is how it is presented now

like image 450
Dark Avatar asked May 09 '18 08:05

Dark


People also ask

How do I test coverage in Xcode?

Enable Test Coverage You'll need to edit the scheme, so go into the edit scheme dialog on your main target by clicking your target in the top bar, next to the Stop button, then selecting Edit Scheme… Once you're there, you just need to enable code coverage. To do that… Congratulations!

What is Xccov?

xccov - Xcode Code Coverage for Humans With Xcode 9.3, we have new command line tool xccov to view Xcode Code Coverage Reports in human readable format. This is quick demo of the xccov command line utility with black app.


1 Answers

You can find it in options of Test tab named as Gather coverage for:

You just need to keep selected all target here.

enter image description here

like image 62
Ankit Jayaswal Avatar answered Oct 12 '22 23:10

Ankit Jayaswal