Autotesting JavaScript with Jasmine and Guard
One of the things I really loved about Rails in the early days was that it introduced me to the conc
I have an article on Behaviour Driven Development for JavaScript in June's edition of the excellent JavaScript Magazine.
If you haven't seen or read the magazine before (it's quite new), it's well worth the few dollars charged. The magazine format allows for in-depth articles that require more space, time and effort to write than a typical blog post, and which therefore often go unwritten.
The thrust of my article is that too much of our JavaScript goes untested, but that nowadays it's easy to fix that. I go through an example of a client side shopping cart, using the JSpec BDD library. Even if you don't buy/read the magazine, I highly recommend checking out JSpec and other libraries like it. As JavaScript powered applications become the norm, BDD will only become more important in ensuring our applications work properly, so now is a good time to start.
Also in this month's issue is a guide to using the Canvas tag, tips on how to use build scripts to optimise your JavaScript for each environment, AJAX security pointers and a roundup of community news.
After exploring Behaviour Driven Development for JavaScript, you might find Autotesting JavaScript with Jasmine and Guard insightful as it delves into setting up an efficient automated testing environment. Additionally, Jasmine and Jenkins Continuous Integration can enhance your understanding of integrating testing frameworks with continuous integration systems.
One of the things I really loved about Rails in the early days was that it introduced me to the conc
A lot has changed in the last few years when it comes to implementing applications using JavaScript.
I use Jasmine as my JavaScript unit/behavior testing framework of choice because it's elegant and ha
We pushed out a beta release of Ext JS 3.2 this morning. Although we've marked it as beta, it's a pr