Skip to content

Commit c53a674

Browse files
addityasinghtargos
authored andcommitted
doc: add example to test doc for clarity
Update the documentation for test execution for tests in a single file PR-URL: #27561 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent c0cdf30 commit c53a674

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

BUILDING.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,11 @@ If you want to run the linter without running tests, use
295295
`make lint`/`vcbuild lint`. It will run both JavaScript linting and
296296
C++ linting.
297297

298-
If you are updating tests and just want to run a single test to check it:
298+
If you are updating tests and want to run tests in a single test file
299+
(e.g. `test/parallel/test-stream2-transform.js`):
299300

300301
```text
301-
$ python tools/test.py -J --mode=release parallel/test-stream2-transform
302+
$ python tools/test.py parallel/test-stream2-transform.js
302303
```
303304

304305
You can execute the entire suite of tests for a given subsystem

0 commit comments

Comments
 (0)