mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test_runner: add reporters
PR-URL: https://github.com/nodejs/node/pull/45712 Backport-PR-URL: https://github.com/nodejs/node/pull/46839 Fixes: https://github.com/nodejs/node/issues/45648 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This commit is contained in:
1 parent
5fdf374c74
commit
4d50db14b3
36 files changed
+1138
-245
No files matched your search
@@ -558,6 +558,12 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
|
||||
AddOption("--test-name-pattern",
|
||||
"run tests whose name matches this regular expression",
|
||||
&EnvironmentOptions::test_name_pattern);
|
||||
AddOption("--test-reporter",
|
||||
"report test output using the given reporter",
|
||||
&EnvironmentOptions::test_reporter);
|
||||
AddOption("--test-reporter-destination",
|
||||
"report given reporter to the given destination",
|
||||
&EnvironmentOptions::test_reporter_destination);
|
||||
AddOption("--test-only",
|
||||
"run tests with 'only' option set",
|
||||
&EnvironmentOptions::test_only,
|
||||
|
||||
Reference in new issue
Block a user