Skip to content

Commit 4fa226e

Browse files
MoLowRafaelGSS
authored andcommitted
test_runner: add reporters
PR-URL: #45712 Fixes: #45648 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent 715e428 commit 4fa226e

36 files changed

Lines changed: 1124 additions & 233 deletions

doc/api/cli.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,6 +1238,24 @@ A regular expression that configures the test runner to only execute tests
12381238
whose name matches the provided pattern. See the documentation on
12391239
[filtering tests by name][] for more details.
12401240

1241+
### `--test-reporter`
1242+
1243+
<!-- YAML
1244+
added: REPLACEME
1245+
-->
1246+
1247+
A test reporter to use when running tests. See the documentation on
1248+
[test reporters][] for more details.
1249+
1250+
### `--test-reporter-destination`
1251+
1252+
<!-- YAML
1253+
added: REPLACEME
1254+
-->
1255+
1256+
The destination for the corresponding test reporter. See the documentation on
1257+
[test reporters][] for more details.
1258+
12411259
### `--test-only`
12421260

12431261
<!-- YAML
@@ -2348,6 +2366,7 @@ done
23482366
[scavenge garbage collector]: https://v8.dev/blog/orinoco-parallel-scavenger
23492367
[security warning]: #warning-binding-inspector-to-a-public-ipport-combination-is-insecure
23502368
[semi-space]: https://www.memorymanagement.org/glossary/s.html#semi.space
2369+
[test reporters]: test.md#test-reporters
23512370
[timezone IDs]: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
23522371
[tracking issue for user-land snapshots]: https://github.com/nodejs/node/issues/44014
23532372
[ways that `TZ` is handled in other environments]: https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html

0 commit comments

Comments
 (0)