Home | History | Annotate | Download | only in gl-matrix
      1 Running the test suite
      2 =======================
      3 
      4 The 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 
     10 If 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     
     19 Hint: also look at
     20 
     21     rake --tasks
     22 
     23 If 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