README.rdoc

Loris

Loris will monitor your project and run Javascript Lint (www.javascriptlint.com/) and JS
Test Driver (code.google.com/p/js-test-driver/)
whenever a file changes, it will report the results to the command line and
using Growl (growl.info/). If required,
Loris will automatically start the JS Test Driver server and register your
default browser with it.

Installing

Loris is hosted on Gemcutter (gemcutter.org/), so you need to install
their gem if you haven't already.

sudo gem update –system sudo gem install gemcutter gem tumble

Then to install Loris, just run the following:

sudo gem install loris On Windows you will also need to install the
win32-process gem

gem install win32-process

Loris has no command line options, and no configuration file (at the
moment). It looks for configurations files to decide which tasks to run.

If no `jsTestDriver.conf` file is found, the JS Test Driver task is
silently skipped.

To make it really simple to run JS Test Driver tests, if the server is set
to run on `localhost`, and Loris doesn't detect one running, it will
automatically start one, and register your default browser with it.

This makes it a one step process to get automated tests up and running.

Running

To run, open a command line window, navigate to the root folder of your
project, and run:

loris

Loris will run Javascript Lint, and JS Test Driver tasks (if it finds their
configuration files), and will output the results on the command line.