Steve's Radio Weblog

 

 
 

  Thursday, July 25, 2002


Charles' Six Rules of Unit Testing.

Charles' Six Rules of Unit Testing:

  1. Write the test first
  2. Never write a test that succeeds the first time
  3. Start with the null case, or something that doesn't work
  4. Don't be afraid of doing something trivial to make the test work
  5. Loose coupling and testability go hand in hand
  6. Use mock objects

Read Six Rules of Unit Testing for the whole story...

[The Desktop Fishbowl]
7:57:03 AM    



Click here to visit the Radio UserLand website. Click to see the XML version of this web page. © Copyright 2002 SPD .
Last update: 8/1/2002; 9:19:45 PM .
Click here to send an email to the editor of this weblog.

July 2002
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Jun   Aug