jasmine-runner 0.2.1 0.2.9 Released

I’m quite excited to announce the release of jasmine-runner 0.2.1 0.2.9. In case you didn’t know, this is a commandline tool I wrote awhile back to basically re-create the jasmine gem as a node.js npm package. The reason for this was gem just wasn’t part of my workflow while node.js is. This runner runs client side specs while the next release will have support for running specs on different environments such as node.js itself and rhino.

For those unfamiliar with it, it is installed via npm by typing

npm -g install jasmine-runner

Which provides a locally executable jasmine command that allows the capability to run specs, initialize a project structure with example specs, and even run specs in an autospec like mode that monitors files for changes.

This release completes an overhaul that makes it work on the latest version of node.js and includes several contributions. One of the most interesting contributions is that it works with coffeescript out of the box with all files ending in coffee being compiled down to javascript and served up to the browser. Just to quickly whet your appetite here’s an example spec:

And the actual implementation (using Eulcid’s formula of using the prime number sequence to find perfect numbers):

There’s still a few oddities to resolve. For example, if your coffeescript doesn’t compile correctly the client side won’t get anything (which may result in passing specs). Feel free to file issues with any problems you have and I’ll try my hardest to get them fixed.

I’d like to give a special thanks to amaierhofer (Added the awesome coffeescript feature),MichaelXavier, and peterbraden for their contributions that have made this release possible.