diff options
author | Kevin Decker <kpdecker@gmail.com> | 2015-12-14 01:33:23 -0600 |
---|---|---|
committer | Kevin Decker <kpdecker@gmail.com> | 2015-12-14 01:33:23 -0600 |
commit | 8a9c79b799797c7940ee0152201f2303f3b03472 (patch) | |
tree | d3a51ffb20d5baf073c46d4c1ad43b6f17d4662f | |
parent | a6121cae797161f74bdd5a25e0c56379992557d7 (diff) | |
parent | eb1ec52b453c810e9cec3131d47e4d3d1856b387 (diff) | |
download | handlebars.js-8a9c79b799797c7940ee0152201f2303f3b03472.zip handlebars.js-8a9c79b799797c7940ee0152201f2303f3b03472.tar.gz handlebars.js-8a9c79b799797c7940ee0152201f2303f3b03472.tar.bz2 |
Merge pull request #1153 from ryanmurakami/master
Adding documentation for running tests
-rw-r--r-- | CONTRIBUTING.md | 19 | ||||
m--------- | spec/mustache | 0 |
2 files changed, 19 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 79db3ba..0814760 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,6 +42,25 @@ The `grunt dev` implements watching for tests and allows for in browser testing If you notice any problems, please report them to the GitHub issue tracker at [http://github.com/wycats/handlebars.js/issues](http://github.com/wycats/handlebars.js/issues). +##Running Tests + +To run tests locally, first install all dependencies. +```sh +npm install +``` + +Clone the mustache specs into the spec/mustache folder. +```sh +cd spec +rm -r mustache +git clone https://github.com/mustache/spec.git mustache +``` + +From the root directory, run the tests. +```sh +npm test +``` + ## Ember testing The current ember distribution should be tested as part of the handlebars release process. This requires building the `handlebars-source` gem locally and then executing the ember test script. diff --git a/spec/mustache b/spec/mustache -Subproject 72233f3ffda9e33915fd3022d0a9ebbcce265ac +Subproject 83b0721610a4e11832e83df19c73ace3289972b |