5 ms·
> At a large insurance company I worked for, management set a target of 80% test coverage across our entire codebase. So people started writing stupid unit test
by jes 3y ago
> At a large insurance company I worked for, management set a target of 80% test coverage across our entire codebase. So people started writing stupid unit tests for getters and setters in Java DTOs to reach the goal.
I attended many TOC conferences in the 90s and early 2000s. Eli Goldratt was famous for saying "Tell me how you'll measure me, and I'll tell you how I will behave."