Skip to content

Can't run Pester Tests in PowerShell Extension #2673

Closed
@randyram-at-ms

Description

@randyram-at-ms

Issue Type: Bug

From a file with a Pester test, hit Run tests:

Invoke-Pester : A parameter cannot be found that matches parameter name 'Show'.
At C:\Users\<deleted>\.vscode\extensions\ms-vscode.powershell-2020.4.0\InvokePesterStub.ps1:137 char:113
+ ... Option @{IncludeVSCodeMarker=$true} -TestName $TestName -Show $pester ...
+                                                             ~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-Pester], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Invoke-Pester

PS>

Extension version: 2020.4.0
VS Code version: Code 1.44.2 (ff915844119ce9485abfe8aa9076ec76b5300ddd, 2020-04-16T16:36:23.138Z)
OS version: Windows_NT x64 10.0.18363

System Info
Item Value
CPUs Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz (12 x 3592)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.92GB (15.10GB free)
Process Argv .
Screen Reader no
VM 0%

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