mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-10 01:13:10 +00:00
test summary formatting
This commit is contained in:
parent
93d3de315e
commit
40142fa684
@ -235,7 +235,7 @@ proc printOutput(manager: TestManager) =
|
||||
var successes = 0
|
||||
echo "▢=====================================================================▢"
|
||||
echo "| TEST SUMMARY |"
|
||||
echo "="
|
||||
echo "|"
|
||||
for test in manager.tests:
|
||||
without output =? test.output:
|
||||
echo "| [FATAL] Test '", test.config.name, "' failed to run to completion"
|
||||
@ -246,7 +246,7 @@ proc printOutput(manager: TestManager) =
|
||||
echo "| [OK] Test '", test.config.name, "' succeeded"
|
||||
inc successes
|
||||
|
||||
echo "| ------------------------------------------------------------------- |"
|
||||
echo "| |"
|
||||
echo "| PASSING : ", successes, " / ", manager.tests.len
|
||||
let totalDuration = manager.timeEnd - manager.timeStart
|
||||
echo "| TOTAL TIME : ", totalDuration
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user