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.
This commit is contained in:
Casper Beyer 2021-07-10 07:29:18 +08:00 committed by GitHub
parent 9b89668065
commit 9d57a4aaeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 172 additions and 3 deletions

View file

@ -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,