Pester 5 scope issues and calling PSScriptAnalyzer The latest version of Pester has some breaking changes. Variables are no longer leaking to 'it' blocks. This might break some unit-tests. June 11, 2020 Javy de Koning 2 minute read After the GA release of Pester 5 some of my tests started failing. You can find an overview of breaking changes on this GitHub issue as well as on the README here.