Skip to content

Commit 4d50db1

Browse files
MoLowjuanarbol
authored andcommitted
test_runner: add reporters
PR-URL: #45712 Backport-PR-URL: #46839 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 5fdf374 commit 4d50db1

36 files changed

+1124
-231
lines changed

doc/api/cli.md

+19
Original file line numberDiff line numberDiff line change
@@ -1219,6 +1219,24 @@ A regular expression that configures the test runner to only execute tests
12191219
whose name matches the provided pattern. See the documentation on
12201220
[filtering tests by name][] for more details.
12211221

1222+
### `--test-reporter`
1223+
1224+
<!-- YAML
1225+
added: REPLACEME
1226+
-->
1227+
1228+
A test reporter to use when running tests. See the documentation on
1229+
[test reporters][] for more details.
1230+
1231+
### `--test-reporter-destination`
1232+
1233+
<!-- YAML
1234+
added: REPLACEME
1235+
-->
1236+
1237+
The destination for the corresponding test reporter. See the documentation on
1238+
[test reporters][] for more details.
1239+
12221240
### `--test-only`
12231241

12241242
<!-- YAML
@@ -2312,6 +2330,7 @@ done
23122330
[scavenge garbage collector]: https://v8.dev/blog/orinoco-parallel-scavenger
23132331
[security warning]: #warning-binding-inspector-to-a-public-ipport-combination-is-insecure
23142332
[semi-space]: https://www.memorymanagement.org/glossary/s.html#semi.space
2333+
[test reporters]: test.md#test-reporters
23152334
[timezone IDs]: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
23162335
[tracking issue for user-land snapshots]: https://github.com/nodejs/node/issues/44014
23172336
[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)