I hold the generally unpopular opinion that we write too many tests. Most tests written have negative value and should not only not have been written, we’re better off actively deleting them. Most tests don’t ever catch bugs. They fail when the underlying code changes as intended, not when it breaks. The result is a growing tax on improvement disguised as safety.

This used to just be one of my grumpy opinions. The cost of overtesting was bounded by the effort it took to write tests. Before coding agents came along, that effort kept things in check. Now you can generate a full suite of tests in seconds, and the balance has flipped. Writing tests is now free, but comes at a high cost.

Let’s talk about how we measure the value of a test. The default assumption seems to be that mo…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help