Test.stats
$t.stats() -> map
Description
Get the current pass/fail count as a Map.
$t = Test() // ... run tests ... $t.stats() //= { numPassed: 25, numFailed: 1 }
Get the current pass/fail count as a Map.
$t = Test() // ... run tests ... $t.stats() //= { numPassed: 25, numFailed: 1 }