Skip to content

Commit

Permalink
test_runner: add reporters
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
MoLow committed Dec 19, 2022
1 parent 793929e commit a1b27b2
Show file tree
Hide file tree
Showing 36 changed files with 1,124 additions and 233 deletions.
19 changes: 19 additions & 0 deletions doc/api/cli.md
Expand Up @@ -1230,6 +1230,24 @@ A regular expression that configures the test runner to only execute tests
whose name matches the provided pattern. See the documentation on
[filtering tests by name][] for more details.

### `--test-reporter`

<!-- YAML
added: REPLACEME
-->

A test reporter to use when running tests. See the documentation on
[test reporters][] for more details.

### `--test-reporter-destination`

<!-- YAML
added: REPLACEME
-->

The destination for the corresponding test reporter. See the documentation on
[test reporters][] for more details.

### `--test-only`

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

0 comments on commit a1b27b2

Please sign in to comment.