Pular para o conteúdo

I Delete Tests Every Night (On Purpose)

4 de agosto de 2026 · 12 min

Notas do episódio

Better with Kent - durable skills for people who ship software.

Every morning Kent wakes up to a PR that deletes more lines than it adds. Not flaky tests. Not broken tests. Low-signal ones — tiny wrappers, magic-number asserts, edge cases that will never happen — the kind AI agents love to generate overnight.

This episode walks the trap (more green checks ≠ more confidence), the bar (fewer, longer tests written into testing-principles.md), a real cleanup PR (kody#603: +122 / −703), and the Cursor Automation that runs Keep Tests Tight at 03:00 MDT.

Homework: run the cleanup once. Give an agent your testing principles and see what it deletes.

Chapters

  • 0:00 — Cold open: I delete tests every night
  • 0:15 — Better with Kent intro
  • 0:33 — Every morning a PR that deletes more than it adds
  • 1:04 — More tests are not better tests
  • 2:03 — Tests are expensive to run / change
  • 2:33 — Agents love tiny tests (magic number 42)
  • 3:33 — Green checks are not confidence
  • 4:33 — Screen: testing-principles.md
  • 5:09 — Fewer, longer tests
  • 7:10 — Screen: kody#603 demo
  • 8:38 — Screen: Keep Tests Tight automation
  • 11:32 — Valuable at the time is not keep forever
  • 11:45 — Homework: run the cleanup once
  • 12:19 — Close: delete some more tests

Links

Todos os episódios de Better with Kent

Configurações

Exibição

Idioma

Define quais estações você vê primeiro na página inicial.

Histórico

As rádios e episódios ouvidos recentemente e suas últimas buscas ficam só neste navegador.

Avisos

Um aviso rápido quando um podcast que você segue tem um episódio novo. Desative podcasts individuais pelo sino na página deles.

Conta

Salve favoritos – no app e no site.

Atalhos de teclado

/
Abrir busca
Espaço
Reproduzir ou pausar
← →
No player: voltar 15 s, avançar 30 s (episódios) · na fileira: próximo bloco
↑ ↓
Na fileira: alvo dentro do bloco
Home / End
Na fileira: primeiro ou último bloco
Esc
Fechar janela ou menu
?
Esta visão geral
Tocando agora

Ir para a estação

A seguir

    Adicione episódios com “A seguir” – eles tocam depois do episódio atual.