← Back to context

Comment by blibble

1 day ago

> LLMs can automate most of the boring stuff, including unit tests with 100% coverage. They can cover edge cases you ask them to and they can even come up with edge cases you may not have thought about. This leaves you to do the review.

in my experience these tests don't test anything useful

you may you have 100% test coverage, but it's almost entirely useless but not testing the actual desired behaviour of the system

rather just the exact implementation

The 100% test coverage metric is far more then "entirely useless" it is typically incredibly harmful.

Brittle meaningless tests tend to lock bad decisions in, and prevent meaningful refactoring.

Bad tests simply are code debt, and dramatically increase the future cost of rework and adaptation.