diff options
author | Colin Ihrig <cjihrig@gmail.com> | 2022-04-04 17:14:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-04 17:14:49 +0300 |
commit | 54819f08e0c469528901d81a9cee546ea518a5c3 (patch) | |
tree | e1e9093b64489985f5c8f779e202b3f0e698b9af /doc/api/cli.md | |
parent | 0c9273d1266bbe67fcdc423913fc8c83c259aa83 (diff) |
test_runner: support 'only' tests
This commit introduces a CLI flag and test runner functionality
to support running a subset of tests that are indicated by an
'only' option passed to the test.
PR-URL: https://github.com/nodejs/node/pull/42514
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'doc/api/cli.md')
-rw-r--r-- | doc/api/cli.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index cec177f0410..92acc87e648 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1052,6 +1052,15 @@ minimum allocation from the secure heap. The minimum value is `2`. The maximum value is the lesser of `--secure-heap` or `2147483647`. The value given must be a power of two. +### `--test-only` + +<!-- YAML +added: REPLACEME +--> + +Configures the test runner to only execute top level tests that have the `only` +option set. + ### `--throw-deprecation` <!-- YAML @@ -1641,6 +1650,7 @@ Node.js options that are allowed are: * `--require`, `-r` * `--secure-heap-min` * `--secure-heap` +* `--test-only` * `--throw-deprecation` * `--title` * `--tls-cipher-list` |