News for hackers. Stuff that matters.
Re:Good code needs few unit tests by erso on Friday March 19, 2010 @05:55PM (#1205383)
For me, I don't always know what the edge cases could be until I write them down. Writing tests allows me to get a clearer picture of what kind of coverage I have.
Re:Good code needs few unit tests by binspace on Friday March 19, 2010 @06:05PM (#1205404)
Another nice thing is you can read what the edge cases are going to be, rather than having to remember them all of the time.