MPCatalog / scom-community-catalog

This repository stores the MP information for the SCOM Community Management Pack Catalog
http://www.squaredup.com/MPCatalog
GNU General Public License v3.0
26 stars 18 forks source link

Ep fixissue 115 #119

Closed AnEvilPenguin closed 2 years ago

AnEvilPenguin commented 2 years ago

Thanks for helping contribute to the MP Catalog. Please check the contribution guidelines with any questions, then fill out the below blanks.

What does this add/fix?

Updated all the tests to use Pester v5 Moved tests to using test cases rather than requiring templated out test files …

Does this close any currently open issues?

Should close #115 …

Any other comments?

It's quite a big departure from Pester v3. Additionally, Win10 ships with a Microsoft signed version of v3 so will need to be clobbered to be used. Install-Module Pester -Force -SkipPublisherCheck Tests are loosely the same. …

AnEvilPenguin commented 2 years ago

Mistakes were a mix of caching on my local machine causing variables to exist that shouldn't have existed in that context and forgetting that I import the module manually in my Azure DevOps pipelines.