From 70434b5bfba701f9de2221b64ee40262c5370ae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 15 Mar 2020 17:58:59 +0100 Subject: refactor: change test reporter output (#4371) This commit changes output of default test reporter to resemble output from Rust test runner; first the name of running test is printed with "...", then after test has run result is printed on the same line. * Split "Deno.TestEvent.Result" into "TestStart" and "TestEnd"; * changes TestReporter interface to support both events; Co-authored-by: Ryan Dahl --- cli/tests/compiler_api_test.out | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'cli/tests/compiler_api_test.out') diff --git a/cli/tests/compiler_api_test.out b/cli/tests/compiler_api_test.out index 9ab6536a2..b0071bd5a 100644 --- a/cli/tests/compiler_api_test.out +++ b/cli/tests/compiler_api_test.out @@ -1,15 +1,16 @@ running 12 tests -OK compilerApiCompileSources [WILDCARD] -OK compilerApiCompileNoSources [WILDCARD] -OK compilerApiCompileOptions [WILDCARD] -OK compilerApiCompileLib [WILDCARD] -OK compilerApiCompileTypes [WILDCARD] -OK transpileOnlyApi [WILDCARD] -OK transpileOnlyApiConfig [WILDCARD] -OK bundleApiSources [WILDCARD] -OK bundleApiNoSources [WILDCARD] -OK bundleApiConfig [WILDCARD] -OK bundleApiJsModules [WILDCARD] -OK diagnosticsTest [WILDCARD] +test compilerApiCompileSources ... ok [WILDCARD] +test compilerApiCompileNoSources ... ok [WILDCARD] +test compilerApiCompileOptions ... ok [WILDCARD] +test compilerApiCompileLib ... ok [WILDCARD] +test compilerApiCompileTypes ... ok [WILDCARD] +test transpileOnlyApi ... ok [WILDCARD] +test transpileOnlyApiConfig ... ok [WILDCARD] +test bundleApiSources ... ok [WILDCARD] +test bundleApiNoSources ... ok [WILDCARD] +test bundleApiConfig ... ok [WILDCARD] +test bundleApiJsModules ... ok [WILDCARD] +test diagnosticsTest ... ok [WILDCARD] + +test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [WILDCARD] -test result: OK 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [WILDCARD] -- cgit v1.2.3