docs: Update docs on TEST single test run.
authorMark Stosberg <mark@rideamigos.com>
Tue, 13 May 2014 02:30:58 +0000 (22:30 -0400)
committerFedor Indutny <fedor@indutny.com>
Thu, 15 May 2014 23:05:31 +0000 (03:05 +0400)
The Contributing docs now clarify how to run a single test.

Signed-off-by: Fedor Indutny <fedor@indutny.com>
CONTRIBUTING.md

index 218217e..b769073 100644 (file)
@@ -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