Leveraging Xcode Code Coverage

Leveraging Xcode Code Coverage

Learn how to exploit Xcode Code Coverage information using the latest tools from Apple and the community.

3f309c992e2b1a5c3c014e63810a2f68?s=128

Simone Civetta

July 13, 2015
Tweet

Transcript

  1. 3.
  2. 5.

    Code Coverage detects ☞ Which code is executing when we're

    running the tests ☞ Which code is untested
  3. 6.

    How does it work? ☞ The information is gathered in

    two steps ☞ compile time ☞ runtime ☞ Tools count each expression that is executed
  4. 9.
  5. 11.
  6. 12.
  7. 13.
  8. 16.
  9. 17.
  10. 20.
  11. 22.
  12. 23.
  13. 25.
  14. 28.
  15. 30.
  16. 34.
  17. 35.
  18. 36.
  19. 42.
  20. 43.
  21. 47.
  22. 48.
  23. 51.
  24. 52.
  25. 53.
  26. 55.