4 ms·
>There are obvious solutions: Mocking everything, removing global state, writing more robust test setup code... But who has time for this? I find that doing al
by pytester 7y ago
>There are obvious solutions: Mocking everything, removing global state, writing more robust test setup code... But who has time for this?
I find that doing all of this tends to actually save time overall it's just that the up front investment is high and the payoff is realized over a long time.
Most software teams seem to prefer higher ongoing costs if it comes with quick wins to up front investment.
- c0vfefe 7y agoThose are the age-old arguments against TDD. Every team will have to analyze the value proposition in their context to see if the return is worth the investment.