3 ms·
I do sort of half-TDD if you want. I guess it's not really TDD. When I'm working on something, I always end up having to test it, so I try often to save these
by radarsat1 10y ago
I do sort of half-TDD if you want. I guess it's not really TDD. When I'm working on something, I always end up having to test it, so I try often to save these short functionality tests in a structured way so that they can be re-run. This often saves me from introducing problems in the future.
So it's not really test-driven, but one has to test, right, so why not just keep the tests around for later verification.
It also forces you to write code that _can_ be tested unit-wise, which is nice. I don't know if I want my development to be test-DRIVEN, but I do like tests.