News for hackers. Stuff that matters.
Re:Poll: Do you test your code? by alextgordon on Wednesday March 14, 2012 @10:44PM (#3706501)
But if you don't run it yourself, how do you know it's working? All you know is that the tests pass.

Tests can easily do more harm than good if you let them give you a false sense of security.

Re:Poll: Do you test your code? by tbsdy on Thursday March 15, 2012 @02:21AM (#3707141)
But surely if you have written a unit of code, you should at least know a. What valid input the code should have, b. what output the code should return, and c. What you want he code to do! If you know these things, then wouldn't it be easy enough to write tests for at least these conditions?