Permalink
Browse files

Update README

  • Loading branch information...
ccampbell committed Jul 22, 2013
1 parent bbc915a commit 156b1e59220d936c8b1bc570f444a0f9f16fa49d
Showing with 29 additions and 0 deletions.
  1. +29 −0 README.md
View
@@ -96,6 +96,35 @@ command line arguments:
util/compile.py ruby javascript
+## Tests
+
+Unit tests run via <a href="http://visionmedia.github.io/mocha" target="_blank">mocha</a>.
+
+### Running in browser
+
+Download the repo and go to `tests/rainbow.html` in your browser.
+
+### Running with Grunt and PhantomJS
+
+1. Install grunt-cli
+
+ ```bash
+ npm install -g grunt-cli
+ ```
+
+2. Install npm packages
+
+ ```bash
+ cd /path/to/repo
+ npm install
+ ```
+
+3. Run tests
+
+ ```bash
+ grunt mocha
+ ```
+
## More Info
If you are looking for line number support you can try one of the following:

0 comments on commit 156b1e5

Please sign in to comment.