I hated unit testing until I learned this practice:
http://www.extremeprogramming.org/rules/testfirst.html
Since then I really enjoy writing unit tests. It really changed my mindset. Unit testing is more about design rather than testing itself.
http://www.extremeprogramming.org/rules/testfirst.html
Since then I really enjoy writing unit tests. It really changed my mindset. Unit testing is more about design rather than testing itself.
6 reasons to develop your tests first: http://www.lispcast.com/drupal/node/6