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
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:
[*] MyTestName starting .... The nice thing about this approach is you can suppress it by disabling verbose logging.