Archive for July 10th, 2012

In my previous post, I described a simple routine for using grunt, mocha, and zombie to unit test HTML and Javascript web applications, even those written with abstractions like Coffeescript, Less, or HAML, with a certain degree of verisimilitude. The key elements were (a) use grunt to build the various components, then (b) use grunt [...]

If you ever want to start unit testing your project, here’s a straightforward framework for doing so.  First, create a simple Mocha unit test to access your home page. I’m going to use mocha, chai, and zombie. Note that I’m embedding– sorry about this– the target URL, but the location for it will be localhost [...]


Recent Comments