Re:Testing is waste of time, I know that my code works
by jerf on Friday December 24, 2010 @12:30PM
(#2037605)
But that's the point of this article; starting your test suite is as simple as spending a couple of hours actually learning a test library, then instead of throwing away your hack tests, keep them. There's no way that's a 2x speed penalty, no way, and in practice it's faster to develop that way.
If you spend five minutes constructing up some test cases for your code, you can either throw them away immediately after that, or continue to get leverage on your code with them for the next weeks, months, or years. Which do you think actually produces a better velocity, vs. which might make you feel like you're going faster?
If you spend five minutes constructing up some test cases for your code, you can either throw them away immediately after that, or continue to get leverage on your code with them for the next weeks, months, or years. Which do you think actually produces a better velocity, vs. which might make you feel like you're going faster?