Getting started with JS unit testing.
We all know we should be unit testing where possible, but it’s something many of us put off. Well, if you have 10 minutes free, do yourself a favours and check out Ben Nadels article on unit testing with requireJS and Jasmine. Unit testing and TDD has many great qualities other article talk about (see wikipedia) at great length but the attraction for me was really simple. I dont have to click about in the browser when testing carousels!
Just from a few days experimenting the value is really clear, i am looking forward to exploring jasmine more over the next few weeks.