• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Running the test suite
2=======================
3
4The unit tests are built upon the following tools:
5
6* Jasmine -- the underlying test suite which executes the test and reports feedback
7* node.js -- used for testing at the command line, via the `jasmine-node` package
8* selenium -- used for automated in-browser testing via Ruby
9
10If Ruby is installed, you can set up with:
11
12    gem install bundler
13    bundle install
14
15...and then test with:
16
17    rake
18
19Hint: also look at
20
21    rake --tasks
22
23If Ruby is not installed, you must test with `jasmine-node` directly:
24
25    NODE_PATH=$NODE_PATH:.                       \
26      node_modules/jasmine-node/bin/jasmine-node \
27      spec/helpers/node_helper.js