Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pester v5 #413

Open
ThomasNieto opened this issue Sep 11, 2020 · 1 comment · May be fixed by #443
Open

Pester v5 #413

ThomasNieto opened this issue Sep 11, 2020 · 1 comment · May be fixed by #443
Labels
Category-Module Pertaining to the module's functionality itself. Issue-Discussion Let's talk about it!
Milestone

Comments

@ThomasNieto
Copy link
Contributor

This module is pinned to Pester v4. Are there plans to migrate to v5?

@ThomasNieto ThomasNieto added Category-Module Pertaining to the module's functionality itself. Issue-Discussion Let's talk about it! labels Sep 11, 2020
@vexx32
Copy link
Owner

vexx32 commented Sep 11, 2020

Yep! We've already migrated to v5, but I hit a roadblock in testing things for v5 so I haven't been wanting to do a release until I have some way of testing all the functions in v5; specifically, the internal Measure-Koan function is utilizing Pester's discovery mechanic to get a more accurate accounting of koans... but you can't invoke it inside a pester test, meaning we have no real way of verifying that it actually works correctly.

@vexx32 vexx32 added this to the Future milestone Apr 20, 2021
vexx32 added a commit that referenced this issue May 6, 2021
vexx32 added a commit that referenced this issue May 6, 2021
Pester v5.2.0 added the ability to natively run just the discovery phase
of a test suite, so we refactor Measure-Koan to utilize this and save
doing a lot of manual work.

This also obsoletes the private Measure-KoanTestBlock command that
previously supported Measure-Koan. Pester automatically does that
calculation on its own before presenting the discovery results. This
command has been removed as a result.
@vexx32 vexx32 linked a pull request May 6, 2021 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category-Module Pertaining to the module's functionality itself. Issue-Discussion Let's talk about it!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants