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

Unit tests do not work with Pester 5.x #28

Closed
lupino3 opened this issue Dec 25, 2020 · 0 comments · Fixed by #27
Closed

Unit tests do not work with Pester 5.x #28

lupino3 opened this issue Dec 25, 2020 · 0 comments · Fixed by #27

Comments

@lupino3
Copy link
Member

lupino3 commented Dec 25, 2020

It looks like unit tests don't work with Pester 5.x.

I was able to reproduce locally the failures in #27, and they seem to happen only when unit tests run under a recent Pester build (5.1.0 rather than version 4.10.1 which is the one the test script installs if it finds no Pester).

The test code does not follow the rules for Pester 5.x code (https://github.com/pester/Pester#pester-500).

We may want to investigate porting unit tests to Pester 5.x, or figuring out if there is a way to always run tests with Pester 4.x.

The ubuntu-latest runners for GitHub Actions have Pester 5 installed.

@lupino3 lupino3 linked a pull request Dec 25, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant