Skip to content

Commit

Permalink
Merge pull request #1153 from ryanmurakami/master
Browse files Browse the repository at this point in the history
Adding documentation for running tests
  • Loading branch information
kpdecker committed Dec 14, 2015
2 parents a6121ca + eb1ec52 commit 8a9c79b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion spec/mustache
Submodule mustache updated 3 files
+1 −1 specs/sections.json
+7 −0 specs/sections.yml
+10 −0 specs/~lambdas.yml

0 comments on commit 8a9c79b

Please sign in to comment.