Skip to content

Commit fbdc3f7

Browse files
MoLowruyadorno
authored andcommittedJan 31, 2023
test_runner: add reporters
Backport-PR-URL: #46361 PR-URL: #45712 Fixes: #45648 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent 1ec6270 commit fbdc3f7

35 files changed

+1122
-233
lines changed
 

‎doc/api/cli.md

+19
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
@@ -2338,6 +2356,7 @@ done
23382356
[scavenge garbage collector]: https://v8.dev/blog/orinoco-parallel-scavenger
23392357
[security warning]: #warning-binding-inspector-to-a-public-ipport-combination-is-insecure
23402358
[semi-space]: https://www.memorymanagement.org/glossary/s.html#semi.space
2359+
[test reporters]: test.md#test-reporters
23412360
[timezone IDs]: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
23422361
[tracking issue for user-land snapshots]: https://github.com/nodejs/node/issues/44014
23432362
[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)
Please sign in to comment.