Charles' Six Rules of Unit Testing
- Write the test first
- Never write a test that succeeds the first time
- Start with the null case, or something that doesn't work
- Don't be afraid of doing something trivial to make the test work
- Loose coupling and testability go hand in hand
- Use mock objects
......
http://fishbowl.pastiche.org/2002/07/25/charles_six_rules_of_unit_testing