Skip to content

Add progress to Minimal and None output mode #1441

Description

@nohwnd

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions