-
How can get Pester not to hide the outputs of the commands that I run in the test cases. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can't atm, but you can either:
|
Beta Was this translation helpful? Give feedback.
-
What is your motivation for such feature? Do you use it for debugging? Is it useful to have the output "line-by-line" or it is enough to write it all at once once the test finishes? If you were to implement this, I assume you would need to add a pipeline here, that would write to console using Write-Host, and then forward the input to the StandardOutput variable. And add an option for that into pester configuration. |
Beta Was this translation helpful? Give feedback.
You can't atm, but you can either:
Out-String | Write-Host
(ugly)StandardOutput
property in the result-object: