summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stosberg <mark@rideamigos.com>2014-05-12 22:30:58 -0400
committerFedor Indutny <fedor@indutny.com>2014-05-16 03:05:31 +0400
commit8a6c36dc3707212a83e44bdc01a09cf122a8e809 (patch)
tree222573a42cd5a0bf4798fb2b8a6bfed11a5ea0df
parent8ee9f04de6dfa89fc8fb96628b343d861c60bb2e (diff)
downloadnodejs-8a6c36dc3707212a83e44bdc01a09cf122a8e809.tar.gz
nodejs-8a6c36dc3707212a83e44bdc01a09cf122a8e809.tar.bz2
nodejs-8a6c36dc3707212a83e44bdc01a09cf122a8e809.zip
docs: Update docs on TEST single test run.
The Contributing docs now clarify how to run a single test. Signed-off-by: Fedor Indutny <fedor@indutny.com>
-rw-r--r--CONTRIBUTING.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 218217eba..b769073b9 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -118,6 +118,19 @@ $ make jslint test
Make sure the linter is happy and that all tests pass. Please, do not submit
patches that fail either check.
+If you are updating tests and just want to run a single test to check it, you
+can use this syntax to run it exactly as the test harness would:
+
+```
+python tools/test.py -v --mode=release simple/test-stream2-transform
+```
+
+You can run tests directly with node:
+
+```
+node ./test/simple/test-streams2-transform.js
+```
+
### PUSH