How to improve testing your own code
- by Peter
Hi guys,
Today I checked in a change on some code which turned out to be not working at all due to something rather stupid yet very crucial.
I feel really bad about it and I hope I finally learn something from it. The stupid thing is, I've done these things before and I always tell myself, next time I won't be so stupid... Then it happens again and I feel even worse about it.
I know you should keep your chin up and learn from your mistakes but here's the thing: I try to improve myself, I just don't see how I can prevent these things from happening.
So, now I'm asking you guys: Do you have certain groundrules when testing your code?