Monday, March 16, 2009

Keep you code nice and tidy

Just wanted mention a nice little post about TDD and what might happen when you don't keep your tests nice and tidy. Or as Wendy Friedlander puts it:
However, the moment the tests slow, the practices start to slip...
  1. Writing code and verifying it works by launching the app, then creating the tests
  2. Making the test pass before verifying it failed.
  3. Not running all the tests before check in.
  4. Not refactoring because it takes too long
  5. It stops you from working close to 5 because you don't want to wait for the build
  6. Not adding tests at all because you don't want to break the build and don't want to wait to find out
  7. It ruins all the fun.
 
Check out the rest of the post at Wunda's World

No comments:

Post a Comment