MyITBlog.com - IT Professionals Online Journal
 
  Home  |   Site News  |   About Us  |   Privacy  |   FAQ  |   Contact   Add Blog Entry  |  Login  |  Register   
 My Account
Username
Password
Remember me
Lost Password?


 Categories


  HOME  >  Programming  >  TestingPrint


0
Votes
Six Rules of Unit Testing in Testing   
by himanshu on 06 Jan 2006, 01:17     Read himanshu's Blog
Total Hits: 285    Comments: 0   

Check out this Six Rules of Unit Testing by Charles :
  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://radio.weblogs.com/0100190/stories/2002/07/25/sixRules
OfUnitTesting.html


 

Post Comment

Copyright © 2008 MyITBlog.com