Migrate Pester Test Syntax from v3 -> v4
PlagueHO opened this issue · 0 comments
PlagueHO commented
Details of the scenario you tried and the problem that is occurring:
As of Pester v4 the syntax of the Should
cmdlet has changed from Should Be
to Should -Be
.
There is a helpful script that can be used to easily perform the conversion:
https://gist.github.com/indented-automation/aeb14825e39dd8849beee44f681fbab3
This script should be used to correct the Pester syntax.