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

OVF force imports latest version of Pester #42

Description

@DennisL68

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions