From 8fc16367b0ecba86bb61d02a68e255acc3d6a51e Mon Sep 17 00:00:00 2001 From: Ryan Lewis Date: Sun, 13 Dec 2015 20:40:50 -0800 Subject: [PATCH] Add documentation for running tests to contributing.md lawnsea: this contains the changes from 8a9c79b --- CONTRIBUTING.md | 19 +++++++++++++++++++ spec/mustache | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 79db3ba8..08147607 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 index 72233f3f..83b07216 160000 --- a/spec/mustache +++ b/spec/mustache @@ -1 +1 @@ -Subproject commit 72233f3ffda9e33915fd3022d0a9ebbcce265acd +Subproject commit 83b0721610a4e11832e83df19c73ace3289972b9