diff options
author | Ryan Lewis <ryanharrisonlewis@gmail.com> | 2015-12-13 20:40:50 -0800 |
---|---|---|
committer | Lon Ingram <lawnsea@gmail.com> | 2016-11-11 12:01:16 -0600 |
commit | 8fc16367b0ecba86bb61d02a68e255acc3d6a51e (patch) | |
tree | 1f3909b181517362ac3232e289434a25ff454a85 | |
parent | 400916c225236d425c27a546a0d2d11b43f437f0 (diff) | |
download | handlebars.js-8fc16367b0ecba86bb61d02a68e255acc3d6a51e.zip handlebars.js-8fc16367b0ecba86bb61d02a68e255acc3d6a51e.tar.gz handlebars.js-8fc16367b0ecba86bb61d02a68e255acc3d6a51e.tar.bz2 |
Add documentation for running tests to contributing.md
lawnsea: this contains the changes from 8a9c79b
-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 |