mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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>
This commit is contained in:
committed by
Fedor Indutny
parent
8ee9f04de6
commit
8a6c36dc37
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user