MiniCTRMSearch

MiniCTRM - Build Tutorial 821: Code coverage gates: what they measure, and why MiniCTRM keeps none

→ to begin · N for the speaker notes

On a phone: Next or a swipe left to begin, Notes for the words.

What you'll learn

You know what line, branch and instruction coverage measure and what they miss, you have read your own system's coverage report once, you have tests for the three untested pieces of code that would cost the most if they were wrong, and you have decided - for your own reasons, written in CLAUDE.md - whether your system keeps a gate.

  • What it counts – Lines, branches and instructions; what a high number says and what it cannot say.
  • Why MiniCTRM keeps none – What a gate catches, the two kinds of flaw it cannot see, and MiniCTRM's decision.
  • When a gate is right – The circumstances where a team is right to keep one, and the honest middle ground.
  • Your system – A report once, the untested code that would cost money, and a gate that only looks forward if you need one.
  • Ship it – Your decision in CLAUDE.md, committed.

Before you start

The lessons this one builds on: 651 Quality and shipping: test tiers, quick CI, the PR flow, releases.

Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.

Welcome

A number most people have never seen

1 / 9
A number most people have never seen
What it counts

What a coverage number says, and what it cannot

2 / 9
What a coverage number says, and what it cannot
Why MiniCTRM keeps none

What a gate misses, and MiniCTRM's decision

3 / 9
What a gate misses, and MiniCTRM's decision
When a gate is right

When a team is right to keep one

4 / 9
When a team is right to keep one
Your system

Read your coverage once

5 / 9
Read your coverage once
Your system

The untested code that would cost money

6 / 9
The untested code that would cost money
Your system

If you must have a gate: one that only looks forward

7 / 9
If you must have a gate: one that only looks forward
Ship it

Ship it

8 / 9
Ship it
Where next

Tests that check behavior

9 / 9
Tests that check behavior

You have finished lesson 821, Code coverage gates: what they measure, and why MiniCTRM keeps none.

Where next?

← → move · N notes · Home / End