CSDN博客

img tigerzhou1234

Charles' Six Rules of Unit Testing

发表于2004/9/24 14:53:00  877人阅读

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

......

http://fishbowl.pastiche.org/2002/07/25/charles_six_rules_of_unit_testing

阅读全文
0 0

相关文章推荐

img
取 消
img