|
|
|
|
|
by josephg
2166 days ago
|
|
When I’ve gone full TDD on projects, I’m always surprised to find there’s a power law distribution or something on failing tests. Most of the tests I write never catch a bug in the life of the software. Something like 90% of the value of a test suite could be achieved with only about 10% of the tests. Of course, the trick is figuring out which tests are going to repeatedly fail ahead of time. But there’s something interesting down this rabbit hole. I wonder if it would be worth collecting per-test stats through the life of a project to explore this. |
|