UNPKG

1.13 kBMarkdownView Raw
1Contributing
2============
3
4Thanks for your interest in contributing! The advice below will help you get
5your issue fixed / pull request merged.
6
7Please file bugs and send pull requests to the
8[GitHub repository](https://github.com/mozilla/nunjucks/) and
9[issue tracker](https://github.com/mozilla/nunjucks/issues).
10
11
12Submitting Issues
13-----------------
14
15Issues are easier to reproduce/resolve when they have:
16
17- A pull request with a failing test demonstrating the issue
18- A code example that produces the issue consistently
19- A traceback (when applicable)
20
21
22Pull Requests
23-------------
24
25When creating a pull request:
26
27- Write tests (see below).
28- Note user-facing changes in the `CHANGELOG.md` file.
29- Update the documentation (in `docs/`) as needed.
30
31
32Testing
33-------
34
35Please add tests for any changes you submit. The tests should fail before your
36code changes, and pass with your changes. Existing tests should not break. Test
37coverage (output at the end of every test run) should never decrease after your
38changes.
39
40To install all the requirements for running the tests:
41
42 npm install
43
44To run the tests:
45
46 npm test