vexx32 / PSKoans

A simple, fun, and interactive way to learn the PowerShell language through Pester unit testing.
GNU General Public License v3.0
1.72k stars 176 forks source link

Update to Pester v5.2.1 #443

Open vexx32 opened 3 years ago

vexx32 commented 3 years ago

PR Summary

Update to Pester v5 and take advantage of the Run.SkipRun features added to remove some of the awfully hacky discovery-only code we needed in older Pester versions.

Resolves #413

Context

Pester v5.2.0 added options to allow us to natively skip the actual Run phase and just get test metadata back. This makes the necessary changes to use the functionality properly, instead of relying on unsupported and hacky methods of getting that data.

Changes

Checklist