Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A REPL and continuous test runner for Node.js Jasmine tests

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .jezebel
Octocat-spinner-32 .npmignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 package.json
README.rdoc

You shoudn't use this. This (github.com/guard/guard-jasmine-headless-webkit) is a much better alternative.

Jezebel - a Node.js REPL and continuous test runner for Jasmine

If you're writing tests using Node.js and Jasmine, Jezebel will help you get faster feedback. It runs your tests continuously (on each change to your code), and provides a shell (a.k.a REPL – Read, Evaluate, Print, Loop) that lets you interact with your project and your tests.

Installation

Stable version is available on npm, so you can install by using:

npm install jezebel --global

If you want to install the edge development version, simply clone this repo and install from it:

git clone git://github.com/benrady/jezebel.git
npm install ./jezebel

Using Jezebel

$ jezebel 
> ................................................................

Completed in 0.037 seconds
64 examples 

>

Jezebel runs all your tests when it starts, and every time a .js file in or under the current directory is changed. You can force a test run by calling the runTests() function from the REPL. Other functions will become available as jezebel improves.

Customization

Jezebel can be customized by creating a .jezebel file in the root of your project (where Jezebel is run from). This file is loaded as a module and any functions that it exports will be available in the REPL. By exporting a settings object you can configure the behavior of Jezebel, and attach hooks to events such as onChange, onPass, onFail. See github.com/benrady/jezebel/blob/master/.jezebel for an example of this configuration.

Jezebel “Plugins”

Additional modules can easily be added to Jezebel by requiring them in your .jezebel file. The jezebel/utils module is included with Jezebel, but any node.js package included in your load path can be used. You can either use these modules in your config file, or re-export them for use in the REPL.

Acknowledgement

Under the covers, Jezebel uses Jessie (github.com/futuresimple/jessie) to run tests.

Copyright

Copyright © 2011 Ben Rady. See LICENSE for details.

Something went wrong with that request. Please try again.