Adding some Write-Progress output to It#322
Conversation
Adding some Write-Progress output to It
|
This change seems to be causing some pretty significant side-effects -- at least on my system. Here are the downsides:
|
|
I'm not sure what you're referring to. I don't notice any jerking up and down in the ISE or powershell.exe. In both cases, the progress indicator appears at the top of the console / pane, while the most recent test results are at the bottom. In any case, if you don't want to see that stuff, you can set $ProgressPreference to 'SilentlyContinue' before running Invoke-Pester. |
|
Hmm...I just restarted ISE and the symptoms aren't there. I think it might have something to do with multiple powershell sessions in ISE (i.e. using |
Potential fix for #321
I added a few blank lines to the console output at the beginning of
Invoke-Pester, to make room for the Progress display. Tests that finish quickly may not wind up displaying any progress output at all, but long-running tests will provide the user with some feedback about what's happening.