Show-CatTestResultSummary
Prints the result block of the last run — counts, pass rate, duration, the coloured bar — to the host.
On this page
Synopsis
Show-CatTestResultSummary
Parameters
None (common parameters only).
What it does
Prints the block Invoke-CatProject ends with, from the results of the last Invoke-CatProject / Invoke-CatTest in this session. Use it after Invoke-CatTest, which does not print it, when a human is watching.
Output
Nothing on the pipeline. On the host:
Results: 😻 41 passed 😿 1 failed
Total: 42 tests
Pass rate: 97.6%.
Execution time: 00:00:03.2140115
followed by a coloured pass-rate bar. Before any run the counts are zero.
Errors
There is no CAT session active… when no session exists.
Examples
Open-CatProject
$null = Invoke-CatTest
Show-CatTestResultSummary
Related
- Introduction — session model, logging, errors, sign-in.
Get-CatTestResultSummary— the same as an object, for scripts.