From c8313a74571bf210665eeb214ab74cdff57f2bac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 11 Apr 2022 18:27:17 +0200 Subject: 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 --- cli/tests/testdata/test/finally_timeout.out | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'cli/tests/testdata/test/finally_timeout.out') diff --git a/cli/tests/testdata/test/finally_timeout.out b/cli/tests/testdata/test/finally_timeout.out index 570e9108f..aafb8125f 100644 --- a/cli/tests/testdata/test/finally_timeout.out +++ b/cli/tests/testdata/test/finally_timeout.out @@ -1,17 +1,18 @@ Check [WILDCARD]/test/finally_timeout.ts -running 2 tests from [WILDCARD]/test/finally_timeout.ts -test error ... FAILED ([WILDCARD]) -test success ... ok ([WILDCARD]) +running 2 tests from test/finally_timeout.ts +error ... FAILED ([WILDCARD]) +success ... ok ([WILDCARD]) failures: -error +test/finally_timeout.ts > error Error: fail at [WILDCARD]/test/finally_timeout.ts:4:11 at [WILDCARD] failures: + test/finally_timeout.ts error test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD]) -- cgit v1.2.3