Trying to write this as a 2007 blog post: personal, not so politically correct. (I’m not involved in JS politics by the way)
When asked about testing front end code, I’d usually reply with something like “I haven’t found the right tool and approach yet”, but maybe that’s because I wasn’t really looking. After searching around for a while I found QUnit and really liked how easy…
Tests are absolutely a must. Without tests, it is not possible to evolve software.
So you’ve written…
If you aren’t in the habit already, writing tests for your code is an excellent way to stay disciplined as a software engineer on any project. If you don’t think that it’s worth your time, but wish you had a way to thoroughly check your code as…