I would like to know how to add additional output to the Pester test XML file using PowerShell commands such as Out-Host
or Write-Debug
.
I wish to do this so that I can observe the output on the appveyor tests page.
As you can see in the above image the pester tests do not have an Std OUT option.
In searching for an answer I stumbled upon this github issue which described the exact thing I want to do but doesn't provide a solution.
The only workaround I have been able to get to work is to force the pester test to write to the console using Out-Host
so that I can cross reference the output with the test.