node package manager

jasminy

A Headless Jasmine TDD Tool

Jasminy - A Headless Jasmine TDD Tool

The goal of this project is to execute jasmine specs in a simulated DOM environment without the need to spin up a server. Speed and flexibility are the primary goals.

A lesser but still important goal is to support CoffeeScript.

Installation

npm install jasminy

Use

Test a directory of (java|coffee) scripts

jasminy test/specs

Include CoffeeScript matchers and a spec directory

jasminy test/matchers.coffee test/specs

Include jQuery as well as a spec

jasminy -j test/jquery/integration.js

Dependencies

TODO

  • Support jsdom options
  • Add watch flag
  • Support custom compilers