summaryrefslogtreecommitdiff
path: root/cli/tests/integration/test_tests.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/tests/integration/test_tests.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/tests/integration/test_tests.rs')
-rw-r--r--cli/tests/integration/test_tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs
index c029b154d..134a2d47b 100644
--- a/cli/tests/integration/test_tests.rs
+++ b/cli/tests/integration/test_tests.rs
@@ -49,6 +49,12 @@ itest!(doc {
output: "test/doc.out",
});
+itest!(terse {
+ args: "test --terse test/terse.ts",
+ exit_code: 1,
+ output: "test/terse.out",
+});
+
itest!(quiet {
args: "test --quiet test/quiet.ts",
exit_code: 0,