Run the mocked Windows bootstrap installer harness:
pwsh -NoLogo -NoProfile -NonInteractive -File .\tests\Invoke-BootstrapInstallerTest.ps1Run the cross-platform scoped install smoke harness:
pwsh -NoLogo -NoProfile -NonInteractive -File .\tests\Invoke-ScopedInstallSmokeTest.ps1Use the local Pester harness to validate venv-sensitive cmdlet behavior across installed version aliases (pwsh-x.y.z).
Run all installed version aliases:
pwsh -NoLogo -NoProfile -NonInteractive -File .\tests\Invoke-VenvTestMatrix.ps1Run one alias only:
pwsh -NoLogo -NoProfile -NonInteractive -File .\tests\Invoke-VenvTestMatrix.ps1 -Aliases pwsh-7.4.13Include online install tests (Install-PSResource / Install-Module):
pwsh -NoLogo -NoProfile -NonInteractive -File .\tests\Invoke-VenvTestMatrix.ps1 -EnableOnlineTestsOnline mode details:
- The tests do not modify PSGallery trust policy.
Install-PSResourceuses-TrustRepository -Quiet.Install-Moduleuses-Force -AcceptLicense -Confirm:$false.- The install checks use
Yayamlto keep downloads and execution lightweight.
Useful flags:
-KeepVenvkeeps the temporary venvs for troubleshooting.-ContinueOnFailurekeeps running after a failed alias.
Pester must be available in the host PowerShell session.