As part of my project, after running the tests, I got to the coverage tab:
Then, when I click on the gray arrow for distanceTitle():
distanceTitle()
And for the static method findLocationWithIdentifier():
findLocationWithIdentifier()
And for the non-static method deliveryInfo():
deliveryInfo()
Now questions:
DBLocation.distanceTitle completely covered (blue progress bar is full) - does this mean 100% coverage for this method?
DBLocation.distanceTitle
When I'm inside this method, it is grayed out, and the number 0 is on the right side . What does it mean?
Why is my method findLocationWithIdentifierwhite and the number 70 next to it ? Why is this function not grayed out as it is called 70 times? I am wrong?
findLocationWithIdentifier
? , 0%, - .
? :
, , , . ?
Apple.
2 3, Xcode , , . Xcode . , , ( ), , . , , , , . , 0.
1, . 100% . / Xcode. , distanceTitle() 100% , distanceTitle() .
, 4.