Pester
Pester copied to clipboard
Add progress to Minimal and None output mode
Historically there was a progress in Pester that reported every test (or was that Describe). It was very noisy and was blinking all the time. It also failed to report the progress because it was showing running test x and then jumping to a next one.
Imho it would be worth it to add a progress bar on per file level:
- Don't use it immediately after start to avoid showing it for short running tasks
- Collecting files for search is fast don't report progress
- Report progress During discovery if we are searching more than 1 file, but update progress on discovery start for a file only if we did not update 2s before, or at the end if we are reporting the last file
- Do the same for run
Ideally this would give us a steady Progress output that would be useful, in cases when all tests are passing.
- how would this work in parallel if that is coming later?
- should it be disabled in CI scenarios?
Related #939