mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Start-PSPester: argument completer for -Path (#17334)
This commit is contained in:
@@ -1167,6 +1167,7 @@ function Start-PSPester {
|
||||
[CmdletBinding(DefaultParameterSetName='default')]
|
||||
param(
|
||||
[Parameter(Position=0)]
|
||||
[ArgumentCompleter({param($c,$p,$word) Get-ChildItem -Recurse -File -LiteralPath $PSScriptRoot/Test/PowerShell -filter *.tests.ps1 | Where-Object FullName -like "*$word*" })]
|
||||
[string[]]$Path = @("$PSScriptRoot/test/powershell"),
|
||||
[string]$OutputFormat = "NUnitXml",
|
||||
[string]$OutputFile = "pester-tests.xml",
|
||||
|
||||
Reference in New Issue
Block a user