Better HN
topnewbestaskshowjobs
Log inSign up

willemderu

1 karma · joined Mar 11, 2008 (18y ago) · 1 submissions

Submissions

comment 18y ago · link · parent

I have been using Behavior driven development (BDD): http://en.wikipedia.org/wiki/Behavior_driven_development This has made unit testing more intuitive (and fun) for me. Specifically, I have been using RSpec, http://rspec.info/ , which is an excellent BDD framework for Ruby. I am not a purist who first writes the tests(behavior's) before writing the actual code. However, my experience has been that it is important to eventually have thorough unit tests for your code to ensure that your application is more robust. It allows you to add new features with greater confidence.