Skip to content

Pester should expose what test is currently running, today it doesn't. #321

@theficus

Description

@theficus

Pester doesn't tell you what test is currently running. This means that when you're watching the output results all you know is what previously ran and what its result was, but there's no visibility into the test that's currently running.

I have some tests that take 30+ seconds to run and it would be nice to know what's currently executing.

Some ideas for how to solve this:

  • Use Write-Progress to show what's currently running (I like this one)
  • Use Write-Verbose to log an additional line like [*] MyTestName starting .... The nice thing about this approach is you can suppress it by disabling verbose logging.
  • Use Write-Output to log an additional line

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions