---
title: "Test Coverage"
description: "1 posts about Test Coverage, summarised, each linking to the original."
---

# Test Coverage
> 1 posts about Test Coverage, summarised, each linking to the original.

## Articles

### [How well is ClickHouse tested? A detailed view of increasing our own coverage](https://yomu.fyi/post/how-well-is-clickhouse-tested-a-detailed-view-of-increasing-our-own-co.md)
- Company: [Clickhouse](https://yomu.fyi/company/clickhouse.md)
- Author: Alexey Bakharev and James Cunningham
- Published: Nov 25, 2026
- Type: Explainer

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.
