News for hackers. Stuff that matters.
Re:Testing code is simple by bluntly_said on Thursday September 26, 2013 @10:32AM (#6450989)
I'm not sure I agree with you here. Tests are still only as clever as the person writing them. This means it's rarely going to catch corner cases that the developer wasn't already aware of.

I think the real value of tests is exposing expected behavior to teammates, and then providing quick sanity checks against that expected behavior.

The biggest thing new developers miss about testing is that most times you're not writing tests for yourself, you're writing them as a courtesy to your teammates.

Re:Testing code is simple by RHSeeger on Thursday September 26, 2013 @10:36AM (#6451022)
> it's rarely going to catch corner cases that the developer wasn't already aware of

Learning to recognize potential edge cases and partition inputs to check as many input categories as possible is a skill learned through experience testing.