2 ms·
TDD actually takes less time than not writing tests, if you do it correctly. No matter what, when you're writing code, you're doing "testing". That can either
by smt88 10y ago
TDD actually takes less time than not writing tests, if you do it correctly.
No matter what, when you're writing code, you're doing "testing". That can either mean "run my code and see if it does what it's supposed to," or it can mean, "run a test that I wrote."
If you do the latter, the upfront time is longer -- maybe an hour -- but you save time by having automatic tests instead of manual tests.
- deleted 10y ago[deleted]