You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invoke-Pester fails due to missing HelperFunctions since Pester 5.2.0-beta1:
Describe your environment
Pester version : 5.2.0-beta1 C:\Users*username*\Documents\PowerShell\Modules\Pester\5.2.0\Pester.psm1
PowerShell version : 7.1.3
OS version : Microsoft Windows NT 10.0.19042.0
This seems to happen when running Pester from a module that has .psd1 dependency on other module that imports HelperFunctions via moduleToProcess dependency in their .psd1.
The module is some half-loaded state where we see it in Get-Module but can't invoke in it.
General summary of the issue
Invoke-Pester fails due to missing HelperFunctions since Pester 5.2.0-beta1:
Describe your environment
Pester version : 5.2.0-beta1 C:\Users*username*\Documents\PowerShell\Modules\Pester\5.2.0\Pester.psm1
PowerShell version : 7.1.3
OS version : Microsoft Windows NT 10.0.19042.0
Steps to reproduce
Code shared privately with @nohwnd.
Taken from stack trace:
![image](https://user-images.githubusercontent.com/41372128/116204943-8ae46680-a73d-11eb-8f94-ae3a27de5785.png)
Expected Behavior
Invoke-Pester to execute tests like it did in 5.2.0-alpha3.
Current Behavior
Invoke-Pester fails with error message shared above.
Possible Solution? (optional)
Currently not upgrading from 5.2.0-alpha3 as a workaround.
The text was updated successfully, but these errors were encountered: