pester / Pester

Pester is the ubiquitous test and mock framework for PowerShell.
https://pester.dev/
Other
3.07k stars 469 forks source link

Hide legacy-only parameters in Invoke-Pester #2446

Closed fflaten closed 3 months ago

fflaten commented 3 months ago

PR Summary

Hides parameters only used by legacy compatibility-set in Invoke-Pester from tab-completion, intellisense etc.

[!NOTE] DontShow can't be used with parameters used in multiple sets. It will always hide the parameter regardless of previous parameters in the command.

Fix #1586

PR Checklist