summaryrefslogtreecommitdiff
path: root/cli/tests/integration/test_tests.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-04-11 18:27:17 +0200
committerGitHub <noreply@github.com>2022-04-11 18:27:17 +0200
commitc8313a74571bf210665eeb214ab74cdff57f2bac (patch)
treec55c08fe4361f63d7458ea00fe4b0262f8b42f78 /cli/tests/integration/test_tests.rs
parentc154ac5168dadf48e92508b76b91871ed4630825 (diff)
feat(test): Improve testing report output (#14255)
Following changes were done in this commit: - remove "test" prefix before each test - use gray color for "running N tests from ..." prompt - use relative path or remote URL instead of full URL in "running N tests from ..." prompt - in "failures" section, add file path/remote URL before the test name Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Diffstat (limited to 'cli/tests/integration/test_tests.rs')
-rw-r--r--cli/tests/integration/test_tests.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs
index 9c1ad3f47..307f0f1fe 100644
--- a/cli/tests/integration/test_tests.rs
+++ b/cli/tests/integration/test_tests.rs
@@ -13,9 +13,9 @@ fn no_color() {
false,
);
// ANSI escape codes should be stripped.
- assert!(out.contains("test success ... ok"));
- assert!(out.contains("test fail ... FAILED"));
- assert!(out.contains("test ignored ... ignored"));
+ assert!(out.contains("success ... ok"));
+ assert!(out.contains("fail ... FAILED"));
+ assert!(out.contains("ignored ... ignored"));
assert!(out.contains("test result: FAILED. 1 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out"));
}