4 ms·
>I expect the reason TDD is so controversial on here is people can't see the long term benefits of tests, and instead only think in the short term. There's a n
by crdoconnor 9y ago
>I expect the reason TDD is so controversial on here is people can't see the long term benefits of tests, and instead only think in the short term.
There's a number of reasons why you could try TDD and get frustrated with it because it ends up sucking for you:
* You're using unit tests where integration tests would be more appropriate.
* Your integration tests would take longer to build than the thing you're building itself because you have to set up some sort of elaborate mocking.
* Time is of the essence but quality isn't / your code will be run a limited number of times.