-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Test execution gets stuck if the test uses [Console]::WriteLine to print something, unless it's JSON.
Demo:
Describe 'Pester Tests Extension' {
It 'Is Fine With JSON' {
[Console]::WriteLine('{"valid": "json"}')
}
It 'Is Fine With Write-Host' {
Write-Host 'not json'
}
It 'Dislikes Console.WriteLine' {
[Console]::WriteLine('not json')
}
}If I execute it through the extension, execution gets stuck on the third test:

Metadata
Metadata
Assignees
Labels
No labels

