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
[X] Removed Measure-KoanTestBlock
[X] Updated Measure-Koan
[X] Updated Pester dependency to 5.2.0
[ ] Update and re-enable tests for Measure-Koan
[X] Version bump to 0.68.0
Checklist
[X] Pull Request has a meaningful title.
[X] Summarised changes.
[ ] Pull Request is ready to merge & is not WIP.
[ ] Added tests / only testable interactively.
Make sure you add a new test if old tests do not effectively test the code changed.
[ ] Added documentation / opened issue to track adding documentation at a later date.
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