pester / docs

Source files for the Pester website.
https://pester.dev
MIT License
41 stars 76 forks source link

Update ExcludeT from end of doc to ExcludeTag #308

Closed corycarte closed 2 months ago

corycarte commented 2 months ago

I noticed on the tags page, the final example has an error. Correcting ExcludeT to ExcludeTags

fflaten commented 2 months ago

Good catch, thanks!

The parameter is actually called -ExcludeTagFilter. Would you mind replacing -ExcludeTag -> -ExcludeTagFilter and -Tag -> -TagFilter in first section and both Invoke-Pester examples on that page to clean it up? 🙂

In v5 -Tag should only be used on Describe\Context\It. It's technically an alias for -TagFilter on Invoke-Pester as well but it's deprecated and kept only for v4 compatibility so it's shouldn't be documented.

corycarte commented 2 months ago

Updated

bravo-kernel commented 2 months ago

Thank you kindly ❤️