Pester 6.1.0-alpha2 has global mocks, this solves headaches with -ModuleName. -ModuleName is now needed only when the function is not public to tell us where to find it.
github.com/pester/Pester/…
Please try it on your test base, and report issues.
#pspester #powershell
PowerShell BDD and TDD testing framework. Includes tools for function testing, module testing, mocking, code coverage and more.
Joined September 2014

