Scott Berrevoets 11/20/2024

Shifting the testing culture: Code coverage

Read Original

This article, part of a series on testing culture, argues that code coverage measures untested code rather than test quality. It uses a Swift code example to illustrate how high coverage can mask untested logic. The post details using llvm-cov for granular analysis, integrating coverage data into developer workflows and dashboards, and tracking historical trends to improve testing practices.

Shifting the testing culture: Code coverage

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes