diff options
author | Santiago Gimeno <santiago.gimeno@gmail.com> | 2016-05-26 02:33:21 +0200 |
---|---|---|
committer | Santiago Gimeno <santiago.gimeno@gmail.com> | 2016-05-30 10:24:10 +0200 |
commit | b83b363839c5f6c02943373ec5ab2fc079f5097d (patch) | |
tree | bb2f78addaa5377d04f3e4849b31bcc0f892bf3e /CONTRIBUTING.md | |
parent | 6e148a34dc75134ffc329a84846b5ad46be7cf66 (diff) | |
download | node-new-b83b363839c5f6c02943373ec5ab2fc079f5097d.tar.gz |
doc,test: add `How to write a Node.js test` guide
PR-URL: https://github.com/nodejs/node/pull/6984
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com>
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b9e495e9b9..77167659f4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -133,8 +133,9 @@ $ git rebase upstream/master ### Step 5: Test Bug fixes and features **should come with tests**. Add your tests in the -test/parallel/ directory. Look at other tests to see how they should be -structured (license boilerplate, common includes, etc.). +`test/parallel/` directory. For guidance on how to write a test for the Node.js +project, see this [guide](./doc/guides/writing_tests.md). Looking at other tests +to see how they should be structured can also help. ```text $ ./configure && make -j8 test |