Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Conversation

@matt9ucci
Copy link
Contributor

Invoke-SHiPSTest failed as follows:

PS> Invoke-SHiPSTest
...
[-] Get and Set test.Get Set Tests 336ms (321ms|15ms)
 RuntimeException: Legacy Should syntax (without dashes) is not supported in Pester 5.
 Please refer to migration guide at: https://pester.dev/docs/migrations/v3-to-v4

This is because Invoke-SHiPSTest installs Pester v5, the latest version, but current test cases are written as v3/4.

For a workaround, set the -MaximumVersion parameter 4.10.1, the latest version of v4.x.
(These test cases should be rewritten as v5 in the future.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant