Browse files

Added testing instructions

  • Loading branch information...
1 parent 0f6753f commit e99594d5d404789a3dbe45c68f7c7f20508a759c @sinisterchipmunk sinisterchipmunk committed Nov 3, 2011
Showing with 24 additions and 0 deletions.
  1. +24 −0 HOW_TO_TEST.txt
View
24 HOW_TO_TEST.txt
@@ -0,0 +1,24 @@
+The unit tests are built upon the following tools:
+
+* Jasmine -- the underlying test suite which executes the test and reports feedback
+* node.js -- used for testing at the command line, via the `jasmine-node` package
+* selenium -- used for automated in-browser testing via Ruby
+
+If Ruby is installed, you can set up with:
+
+ gem install bundler
+ bundle install
+
+...and then test with:
+
+ rake
+
+Hint: also look at
+
+ rake --tasks
+
+If Ruby is not installed, you must test with `jasmine-node` directly:
+
+ NODE_PATH=$NODE_PATH:. \
+ node_modules/jasmine-node/bin/jasmine-node \
+ spec/node_helper.js

0 comments on commit e99594d

Please sign in to comment.