Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot run individual test or test case in Xcode 5.1.1

In Xcode 5, there is usually this checkmark next to the beginning of each test method in the gutter that you can mouse over and click to run that individual case (or the entire test case). On a particular install of Xcode, I am not able to do this - I can only run the entire test suites by clicking the single play icon in the Test Navigator pane.

Any idea if this can be caused by configuration issue?

enter image description here

like image 432
Boon Avatar asked Nov 10 '22 07:11

Boon


1 Answers

If you're just running the Testing Scheme and you have Code coverage enabled. The checkmarks/play buttons next to your unit test may not show. I got them to show back up by disabling the code coverage on the scheme. I have multiple targets so I has to create an independent unit testing scheme.

like image 150
jeremy wilson Avatar answered Nov 15 '22 10:11

jeremy wilson