This repository was archived by the owner on Jun 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
OVF force imports latest version of Pester #42
Copy link
Copy link
Open
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Steps to reproduce
Install-Module Pester -requiredversion 4.10.1
Install-Module Pester -requiredversion 5.4.0
Import-Moudule Pester -requiredversion 4.10.1
Invoke-OperationValidation -Verbose
Expected behavior
VERBOSE: Loading module from path 'C:\Users\D30025\Documents\WindowsPowerShell\Modules\Pester\4.10.1\Pester.psd1'.
...
Actual behavior
VERBOSE: Loading module from path 'C:\Users\D30025\Documents\WindowsPowerShell\Modules\Pester\5.4.0\Pester.psd1'.
...
Invoke-Pester : A parameter cannot be found that matches parameter name 'TestName'.
...
Error details
No response
Environment data
Name Value
---- -----
PSVersion 5.1.19041.2364
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.2364
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Version
1.0.1
Visuals
No response
Metadata
Metadata
Assignees
Labels
No labels