test summary formatting
This commit is contained in:
parent
2ee0146d42
commit
096fc93696
|
@ -235,7 +235,7 @@ proc printOutput(manager: TestManager) =
|
||||||
var successes = 0
|
var successes = 0
|
||||||
echo "▢=====================================================================▢"
|
echo "▢=====================================================================▢"
|
||||||
echo "| TEST SUMMARY |"
|
echo "| TEST SUMMARY |"
|
||||||
echo "="
|
echo "|"
|
||||||
for test in manager.tests:
|
for test in manager.tests:
|
||||||
without output =? test.output:
|
without output =? test.output:
|
||||||
echo "| [FATAL] Test '", test.config.name, "' failed to run to completion"
|
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"
|
echo "| [OK] Test '", test.config.name, "' succeeded"
|
||||||
inc successes
|
inc successes
|
||||||
|
|
||||||
echo "| ------------------------------------------------------------------- |"
|
echo "| |"
|
||||||
echo "| PASSING : ", successes, " / ", manager.tests.len
|
echo "| PASSING : ", successes, " / ", manager.tests.len
|
||||||
let totalDuration = manager.timeEnd - manager.timeStart
|
let totalDuration = manager.timeEnd - manager.timeStart
|
||||||
echo "| TOTAL TIME : ", totalDuration
|
echo "| TOTAL TIME : ", totalDuration
|
||||||
|
|
Loading…
Reference in New Issue