XCTest Coverage After Reporting Protection

I tried the new XCode7 feature - Test Coverage. Whenever I have a method with a guard instruction at the beginning of the report, it doesn't cover the code after it, even I hit it a few times. To prove this, I made a breakpoint in "uncovered code". Then I ran the test and took a screenshot. Is this a bug or am I doing something wrong?

enter image description here

+3


source to share


1 answer


This was fixed in Xcode 7 Beta 4 (along with the nasty highlighting it used):



enter image description here

0


source







All Articles