3 ms·
I did a new "production" project where I did full TDD. Ended up with about 200 tests. As things go, specs changed and part of this application had to be rewri
by k__ 10y ago
I did a new "production" project where I did full TDD.
Ended up with about 200 tests.
As things go, specs changed and part of this application had to be rewritten. Most of the tests started to fail, not because the code was wrong, but because they tested for different spec. So I needed to rewrite all those unit tests again.
Sure, I catched "some" refactoring bugs, but most failed tests weren't bugs, just tests that became wrong. This made me question the whole TDD approach in production.
- deleted 10y ago[deleted]