Loading…
Topic
Test Coverage
1 post about Test Coverage. Every summary links to the original.
- 1 post
- 1 company
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
How well is ClickHouse tested? A detailed view of increasing our own coverage
ClickHouse, with 2.6 million lines of C++ and over 80 daily pull requests, needed an automated way to assess test coverage. The team implemented Clang source-based coverage instrumentation, running 23 CI shards every three hours to produce a merged report. As of November 2026, the tests cover 91.8% of lines, 81.0% of branches, and 91.8% of functions. A differential coverage check on every PR compares the change against up to seven master baselines and gates merges if line coverage drops more than 0.3 percentage points. The team plans to pursue mutation testing and reduce the noise floor from background threads in future iterations.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.