Skip to content

Commit

Permalink
test_runner: add reporters
Browse files Browse the repository at this point in the history
PR-URL: nodejs#45712
Fixes: nodejs#45648
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
  • Loading branch information
MoLow committed Feb 25, 2023
1 parent 9ec0a4e commit 7201845
Show file tree
Hide file tree
Showing 36 changed files with 1,124 additions and 231 deletions.
19 changes: 19 additions & 0 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1219,6 +1219,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 @@ -2309,6 +2327,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
Loading

0 comments on commit 7201845

Please sign in to comment.