11 ms·
That debate exists because the people selling the idea of unit-tests were so goddamn gung-ho for unit testing everywhere and all the time. I have friends in th
by cbs 14y ago
That debate exists because the people selling the idea of unit-tests were so goddamn gung-ho for unit testing everywhere and all the time.
I have friends in the medical industry, their tests must achieve 100% code coverage on multiple coverage metrics, and code coverage is only an afterthought to even more rigorous test requirements. Even they were pointing and laughing at the TDD ideologues.
Unit testing is beneficial, if you do the right amount of it and in the right places at the right time. You might have a totally sensible test plan. But like it or not, for the time being, plenty of people are unwilling to listen to you because some other assholes already burned them on the idea of unit testing.
Its going to take years and years to shake loose all the cobwebs in our industry caused by half-cocked advocacy. Then we can maybe get to the sensible discussion about how to analyze a project and develop a sensible test strategy that fits the project's needs.