diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-08-02 18:38:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 18:38:10 +0200 |
commit | 029bdf0cd55e96f393614ca566d57e4330ac9135 (patch) | |
tree | ccc9f64068c70fcae1fcceba3920b375bcc19ce2 /cli/args/mod.rs | |
parent | d9c85e016f054fd3b6c68a54213e7c0ad8c3a8f4 (diff) |
feat(cli): Add dot test reporter (#19804)
This commit adds a "dot" reporter to "deno test" subcommand,
that can be activated using "--dot" flag.
It provides a concise output using:
- "." for passing test
- "," for ignored test
- "!" for failing test
User output is silenced and not printed to the console.
In non-TTY environments each result is printed on a separate line.
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r-- | cli/args/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs index 9df26b063..eb7eea44f 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -227,7 +227,7 @@ pub struct TestOptions { pub shuffle: Option<u64>, pub concurrent_jobs: NonZeroUsize, pub trace_ops: bool, - pub junit_path: Option<String>, + pub reporter: TestReporterConfig, } impl TestOptions { @@ -252,7 +252,7 @@ impl TestOptions { no_run: test_flags.no_run, shuffle: test_flags.shuffle, trace_ops: test_flags.trace_ops, - junit_path: test_flags.junit_path, + reporter: test_flags.reporter, }) } } |