pester / Pester

Pester is the ubiquitous test and mock framework for PowerShell.
https://pester.dev/
Other
3.05k stars 469 forks source link

Add option to disable v5 syntax #2500

Closed nohwnd closed 1 month ago

nohwnd commented 1 month ago

Add option to disable Should -Be and other assertions shipped with Pester v5, so when you migrate you don't accidentally regress.

Fix #2495

nohwnd commented 1 month ago

I am stupid, why is this a.b test writing error to the pipeline, I thought it is because Verify-Equal outputting the $actual (which it does), but now I give it only the message, and still it shows the error. No other test does this, and the code looks the same.

nohwnd commented 1 month ago

It must be the CI format, because it formats the output to be recognized by azdo.