summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-07-10 07:29:18 +0800
committerGitHub <noreply@github.com>2021-07-10 01:29:18 +0200
commit9d57a4aaeb18461bbeeea30fc8ab8804357185c1 (patch)
tree3fc1bb0bbb06519c36def59e0d1dc09859c676f5 /cli/main.rs
parent9b89668065a5cd23f4326855980f7dd59182efaf (diff)
feat(cli/tools/test_runner): add terse reporter (#11156)
This commit adds "--terse" flag to "deno test" that makes testing reporter output one character per test case instead of one line per case. This is an unstable feature.
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 93bae0220..df6629391 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -988,6 +988,7 @@ async fn test_command(
doc: bool,
fail_fast: bool,
quiet: bool,
+ terse: bool,
allow_none: bool,
filter: Option<String>,
shuffle: Option<u64>,
@@ -1205,6 +1206,7 @@ async fn test_command(
no_run,
fail_fast,
quiet,
+ terse,
true,
filter.clone(),
shuffle,
@@ -1243,6 +1245,7 @@ async fn test_command(
no_run,
fail_fast,
quiet,
+ terse,
allow_none,
filter,
shuffle,
@@ -1350,6 +1353,7 @@ fn get_subcommand(
doc,
fail_fast,
quiet,
+ terse,
include,
allow_none,
filter,
@@ -1362,6 +1366,7 @@ fn get_subcommand(
doc,
fail_fast,
quiet,
+ terse,
allow_none,
filter,
shuffle,