2 ms·
I hated unit testing until I learned this practice: http://www.extremeprogramming.org/rules/testfirst.html http://www.extremeprogramming.org/rules/testfirst.ht
by felipe 18y ago
I hated unit testing until I learned this practice:
http://www.extremeprogramming.org/rules/testfirst.html 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.
- mcxx 18y agoI also like test driven development. 6 reasons to develop your tests first: http://www.lispcast.com/drupal/node/6 http://www.lispcast.com/drupal/node/6
- danw 18y agoTest driven turns unit testing into a game where you're trying to improve your code to get more 'points' (passing tests). It's very fun to do in pair programming with one of you improving the code and the other writing tests to catch any problems.