mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00:00
doc: enrich test command with executable
PR-URL: https://github.com/nodejs/node/pull/44347 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
parent
63eca7fec0
commit
2dacd0708a
@ -342,12 +342,17 @@ the `--help` option:
|
||||
$ tools/test.py --help
|
||||
```
|
||||
|
||||
> Note: On Windows you should use `python3` executable.
|
||||
> Example: `python3 tools/test.py test/message`
|
||||
|
||||
You can usually run tests directly with node:
|
||||
|
||||
```text
|
||||
$ ./node ./test/parallel/test-stream2-transform.js
|
||||
$ ./node test/parallel/test-stream2-transform.js
|
||||
```
|
||||
|
||||
> Info: `./node` points to your local Node.js build.
|
||||
|
||||
Remember to recompile with `make -j4` in between test runs if you change code in
|
||||
the `lib` or `src` directories.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user