News for hackers. Stuff that matters.
Re:We don't write tests. There just isn't time for luxuries. by vegashacker on Thursday October 04, 2007 @12:10AM (#62901)
I've never read any books on the subject, but one thing I like to do is, when a bug is found, ask yourself, "What's a test that would have detected this bug?" Then write that test. Run your new test and make sure that it fails. Then fix the bug. After that, re-run the test to make sure it passes. Finally, check-in both test and patch.

There are no comments on this comment yet.