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
build.psm1 was recently updated to use 'Save-Module' in Restore-PSPester #6112
Side effects of this update broke Docker package validation tests.
Specifically:
Now Restore-PSPester requires-Destinationdirectory to exist and throws error if it doesn't; Previously Restore-PSPester was creating it.
Default -Destination directory is NOT based on PSModulePath, but rather on a (Get-PSOptions -DefaultToNew).Output, which is not helpful at all since it requires to provide full path to the module in case pwsh is run from an installed package as opposed to built from clone repo.
We shouldn't rely on Restore-PSPester anymore sine we've updated the tests to be compatible with Pester 4.x. We should probably have Start-PSPester install Pester from PSGallery if it's not installed.
Activity
SteveL-MSFT commentedon Feb 9, 2018
We shouldn't rely on
Restore-PSPesteranymore sine we've updated the tests to be compatible with Pester 4.x. We should probably haveStart-PSPesterinstall Pester from PSGallery if it's not installed.iSazonov commentedon Feb 10, 2018
I don't still test - Is this works for VS Code debugging? - there another output path is.