This post has been published more than 10 years ago, it may be obsolete by now. As rich Web application complexity grows, if you want to keep your sanity, you need to unit test your frontend JavaScript code. For the 4 past months, I’ve been working for Mozilla on some big project where such testing strategy was involved. While I wish we could use CasperJS in this perspective, Firefox wasn’t suppor