Within my project after I run the tests I get in my coverage tab:
Then when I tap on the gray arrow for distanceTitle():
And for static method findLocationWithIdentifier():
And for non static method deliveryInfo():
Now the questions are:
-
DBLocation.distanceTitleis fully covered (blue progress bar is fullfilled) - Does it mean 100% coverage for that method?. -
When I am inside that method, it is grayed out, and on the right side there is number 0. What does it mean?
-
Why my
findLocationWithIdentifiermethod is white, and next to it is number 70? Why that function is not grayed out, since it is called such 70 times? Am I wrong? -
What about static method? I called them within code, but here progress bar is 0% and within code it is white.
What does it mean? How to read following:
- blue progress bar
- grayed out lines
- number next to lines in code
- why static method are no computed to the coverage value?
For me it looks like the values are reversed to the progress bar. Am I right or not?
Aucun commentaire:
Enregistrer un commentaire